File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- FROM python:3.8.5-buster
1+ FROM python:3.12-slim
22
33RUN mkdir /app
44
Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ services:
1313 command : gcloud beta emulators datastore start --host-port=0.0.0.0:8081 --project glowscript-dev
1414
1515 flask :
16+ profiles : [remote]
1617 image : us.gcr.io/glowscript-py38/glowscript-flask:latest
1718 ports :
1819 - 8080:8080
@@ -27,5 +28,22 @@ services:
2728 - FLASK_RUN_PORT=8080
2829 command : flask run
2930
31+ flask-local :
32+ build : .
33+ image : glowscript-flask:local
34+ profiles : [local]
35+ ports :
36+ - 8080:8080
37+ links :
38+ - datastore
39+ volumes :
40+ - .:/app
41+ - datastore:/root/.config
42+ environment :
43+ - DATASTORE_EMULATOR_HOST=datastore:8081
44+ - FLASK_RUN_HOST=0.0.0.0
45+ - FLASK_RUN_PORT=8080
46+ command : flask run
47+
3048volumes :
3149 datastore :
You can’t perform that action at this time.
0 commit comments