This commit is contained in:
jeremygan2021
2026-03-10 14:11:39 +08:00
parent 880192c358
commit b74d0826ee
4 changed files with 80 additions and 46 deletions

View File

@@ -5,6 +5,7 @@ services:
command: sh -c "python manage.py collectstatic --noinput && python manage.py migrate && gunicorn --bind 0.0.0.0:8000 --access-logfile - --error-logfile - config.wsgi:application"
volumes:
- ./backend:/app
- ./backend/media:/app/media
ports:
- "8000:8000"
environment: