mirror of
https://github.com/StefBuwalda/cal_counter.git
synced 2025-10-30 03:10:00 +00:00
Changed the Docker volume mount to map ./data to /app/instance instead of /app/data in docker-compose.yaml. Also enabled shell debug mode in entrypoint.sh by adding the -x flag to 'set -e' for easier troubleshooting.
10 lines
220 B
YAML
10 lines
220 B
YAML
version: "3.9"
|
|
services:
|
|
app:
|
|
build: .
|
|
container_name: my_python_sqlite_app
|
|
ports:
|
|
- "5000:80" # change if needed
|
|
volumes:
|
|
- ./data:/app/instance # maps host ./data to container /app/data
|