Skip to content

Commit

Permalink
Update production docker-compose for nest
Browse files Browse the repository at this point in the history
  • Loading branch information
Navaneeth-pk committed Aug 4, 2021
1 parent 6c9e2b6 commit 586209f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion deploy/docker/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ services:
env_file: .env
environment:
RAILS_LOG_TO_STDOUT: "true"
command: ["bundle", "exec", "rails", "s", "-p", "3000", "-b", "0.0.0.0"]
command: ['npm', 'run', '--prefix', 'server', 'start:prod']

volumes:
certs:
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ services:
environment:
- WEBPACKER_DEV_SERVER_HOST=0.0.0.0
- NODE_ENV=development
command: npm start
command: ['npm', 'run', '--prefix', 'server', 'start:prod']

server:
# env_file: .env
Expand Down

0 comments on commit 586209f

Please sign in to comment.