forked from passportxyz/passport
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(iam): build docker image for IAM package
basic Dockerfile for building IAM image + .dockerignore for .env files, node_modules, and *.md [passportxyz#37]
- Loading branch information
1 parent
8be4dcc
commit 4f0d577
Showing
2 changed files
with
15 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
**/.env | ||
node_modules | ||
*.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
FROM node:16 | ||
|
||
WORKDIR /usr/src/iam | ||
|
||
COPY . . | ||
|
||
RUN yarn global add lerna | ||
RUN lerna bootstrap --ignore app | ||
|
||
EXPOSE 65535 | ||
|
||
CMD [ "yarn", "run", "start:iam" ] |