Skip to content

Commit

Permalink
only bind to localhost if production mode
Browse files Browse the repository at this point in the history
  • Loading branch information
dekiakbar committed Feb 7, 2024
1 parent 51440f9 commit cdde28b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docker-compose.prod.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
version: "3"
services:
node:
ports:
- "127.0.0.1:${PORT}:${PORT}"
command: bash -c "npm install && npm run build && npm run start:prod"

0 comments on commit cdde28b

Please sign in to comment.