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

@@ -18,5 +18,8 @@ COPY . /app/
# Expose port
EXPOSE 8000
# Volume for media files
VOLUME ["/app/media"]
# Run the application with gunicorn
CMD ["gunicorn", "--bind", "0.0.0.0:8000", "config.wsgi:application"]