Skip to content

Commit

Permalink
bind to local host port only
Browse files Browse the repository at this point in the history
  • Loading branch information
dekiakbar committed Feb 7, 2024
1 parent cdde28b commit 6ca5d9c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions docker-compose.prod.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
version: "3"
services:
node:
ports:
- "127.0.0.1:${PORT}:${PORT}"
command: bash -c "npm install && npm run build && npm run start:prod"
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ services:
volumes:
- '.:/app'
ports:
- "${PORT}:${PORT}"
- "127.0.0.1:${PORT}:${PORT}"
command: bash -c "npm run start:dev"

0 comments on commit 6ca5d9c

Please sign in to comment.