Skip to content

Commit

Permalink
Merge pull request #66 from Scale3-Labs/add-docker-cmd
Browse files Browse the repository at this point in the history
chore: add docker cmd
  • Loading branch information
darshit-s3 authored Apr 25, 2024
2 parents 0b424f2 + 51e3310 commit 3ed6d31
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,5 @@ COPY . .
RUN npm install

EXPOSE 3000

CMD [ "/bin/sh", "-c", "npm run create-tables && npm run dev" ]
1 change: 0 additions & 1 deletion docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ services:
working_dir: /app
env_file:
- .env
command: /bin/sh -c "npm run create-tables && npm run dev"
ports:
- "3000:3000"
# Uncmment this for development
Expand Down

0 comments on commit 3ed6d31

Please sign in to comment.