diff options
Diffstat (limited to 'docker-compose.yml')
| -rw-r--r-- | docker-compose.yml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..c5f8b32 --- /dev/null +++ b/docker-compose.yml | |||
| @@ -0,0 +1,12 @@ | |||
| 1 | version: '2' | ||
| 2 | services: | ||
| 3 | web: | ||
| 4 | build: . | ||
| 5 | environment: | ||
| 6 | - FLASK_APP=main.py | ||
| 7 | - FLASK_ENV=development | ||
| 8 | ports: | ||
| 9 | - "5000:5000" | ||
| 10 | volumes: | ||
| 11 | - .:/mat2-web | ||
| 12 | restart: always | ||
