Files
gabrii 8a87d0033b Squash everything befor release.
Some past commits might have contained Cursor's IP or accidentally
commited API keys. Before making the repository public, all the history
has been squashed into a single commit with.
2025-09-14 17:38:55 +02:00

41 lines
743 B
YAML

x-build-args: &build_args
INSTALL_PYTHON_VERSION: "3.13"
x-default-volumes: &default_volumes
volumes:
- ./:/app
services:
flask-dev:
build:
context: .
target: development
args:
<<: *build_args
image: "app-development"
ports:
- "8080:5000"
<<: *default_volumes
flask-prod:
build:
context: .
target: production
args:
<<: *build_args
image: "app-production"
ports:
- "8080:5000"
environment:
FLASK_ENV: production
FLASK_DEBUG: 0
LOG_LEVEL: info
GUNICORN_WORKERS: 4
<<: *default_volumes
manage:
entrypoint: flask
image: "app-development"
stdin_open: true
tty: true
<<: *default_volumes