Skip to content

Commit

Permalink
feat(iam): build docker image for IAM package
Browse files Browse the repository at this point in the history
basic Dockerfile for building IAM image

+ .dockerignore for .env files, node_modules, and *.md

[passportxyz#37]
  • Loading branch information
david-focused authored and shavinac committed Apr 19, 2022
1 parent 8be4dcc commit 4f0d577
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
**/.env
node_modules
*.md
12 changes: 12 additions & 0 deletions iam/Dockerfile
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" ]

0 comments on commit 4f0d577

Please sign in to comment.