Skip to content

Commit 1d60bd3

Browse files
committed
chore: split port for dev and prod container in docker compose file
1 parent e464e50 commit 1d60bd3

1 file changed

Lines changed: 11 additions & 12 deletions

File tree

docker-compose.yml

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
services:
22
web:
33
build: .
4-
# image: devops-jogja-website:latest
54
ports:
65
- "3000:3000"
76
environment:
@@ -11,16 +10,16 @@ services:
1110
- .:/app
1211
- /app/node_modules
1312

14-
# production:
15-
# build: .
16-
# ports:
17-
# - "5000:3000"
18-
# environment:
19-
# - FLASK_ENV=production
20-
# - FLASK_DEBUG=0
21-
# restart: always
22-
# volumes:
23-
# - .:/app
24-
# - /app/node_modules
13+
production:
14+
build: .
15+
ports:
16+
- "5000:3000"
17+
environment:
18+
- FLASK_ENV=production
19+
- FLASK_DEBUG=0
20+
restart: always
21+
volumes:
22+
- .:/app
23+
- /app/node_modules
2524

2625

0 commit comments

Comments
 (0)