Skip to content

Commit

Permalink
feat(infra): update .dockerignore + command to run in docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
nutrina committed Nov 22, 2022
1 parent 90e4bb8 commit 7210621
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 3 additions & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
**/.env
node_modules
**/node_modules
**/dist
**/.next
*.md
6 changes: 2 additions & 4 deletions iam/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
FROM node:16

WORKDIR /usr/src/iam
WORKDIR /usr/src

COPY . .

RUN yarn global add lerna
RUN lerna bootstrap --ignore app

EXPOSE 80 443

CMD [ "yarn", "run", "prod:start:iam" ]
CMD [ "node", "dist/src/main.js" ]

0 comments on commit 7210621

Please sign in to comment.