Skip to content

Commit

Permalink
chore: Update npm start command for production deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
TkymHrt authored and hikahana committed Aug 30, 2024
1 parent 1e9c175 commit bf01246
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docker-compose.prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ services:
container_name: "cloudflare"
volumes: ["./cloudflare/prod:/home/nonroot/.cloudflared"]
command: tunnel run

api: # hasura
build:
context: .
Expand All @@ -20,7 +21,7 @@ services:
volumes:
- ./view-user:/app
working_dir: /app
command: sh -c "npm install && npm run build && npm run start"
command: sh -c "npm run start"
ports:
- "3000:3000"
env_file:
Expand All @@ -34,7 +35,7 @@ services:
volumes:
- ./view-admin:/app
working_dir: /app
command: sh -c "npm install && npm run build && npm run start"
command: sh -c "npm run start"
ports:
- "3001:3000"
env_file:
Expand Down

0 comments on commit bf01246

Please sign in to comment.