diff options
author | Matthew Lemon <y@yulqen.org> | 2024-04-25 10:33:04 +0100 |
---|---|---|
committer | Matthew Lemon <y@yulqen.org> | 2024-04-25 10:33:04 +0100 |
commit | b75c92cb35413a89ff0dce7b7420e6b2cd0daa9c (patch) | |
tree | 06abdcd134fce27bcbfcdc3ba323c97969eb36e2 /Dockerfile | |
parent | 282c34c3b26ed2bc0c9f5e3c2de5940772f5c89c (diff) |
Now uses gunicorn to run the server instead of dev server
Diffstat (limited to '')
-rw-r--r-- | Dockerfile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -37,5 +37,5 @@ RUN python manage.py migrate # Expose the port on which your Django application will run EXPOSE 8080 -# Run the application -CMD ["python", "manage.py", "runserver", "0.0.0.0:8080"] +# Run the application using Gunicorn +CMD ["gunicorn", "ded.wsgi:application", "--bind", "0.0.0.0:8080"] |