Remove development service from docker-compose.yml and update production service port from 8080 to 9090.
This commit is contained in:
+1
-12
@@ -6,17 +6,6 @@ x-default-volumes: &default_volumes
|
||||
- ./:/app
|
||||
|
||||
services:
|
||||
flask-dev:
|
||||
build:
|
||||
context: .
|
||||
target: development
|
||||
args:
|
||||
<<: *build_args
|
||||
image: "app-development"
|
||||
ports:
|
||||
- "8080:5000"
|
||||
<<: *default_volumes
|
||||
|
||||
flask-prod:
|
||||
build:
|
||||
context: .
|
||||
@@ -25,7 +14,7 @@ services:
|
||||
<<: *build_args
|
||||
image: "app-production"
|
||||
ports:
|
||||
- "8080:5000"
|
||||
- "9090:5000"
|
||||
environment:
|
||||
FLASK_ENV: production
|
||||
FLASK_DEBUG: 0
|
||||
|
||||
Reference in New Issue
Block a user