This commit is contained in:
jeremygan2021
2026-02-10 22:06:07 +08:00
parent 8a3fd6441e
commit a14c2b6240
4 changed files with 10 additions and 4 deletions

View File

@@ -18,5 +18,5 @@ COPY . /app/
# Expose port
EXPOSE 8000
# Run the application
CMD ["python", "manage.py", "runserver", "0.0.0.0:8000"]
# Run the application with gunicorn
CMD ["gunicorn", "--bind", "0.0.0.0:8000", "config.wsgi:application"]

View File

@@ -18,3 +18,4 @@ sqlparse==0.5.5
uritemplate==4.2.0
wechatpayv3==2.0.1
drf-spectacular-sidecar==2026.1.1
gunicorn==21.2.0