diff options
| author | Bobby <[email protected]> | 2022-07-18 11:45:40 +0530 |
|---|---|---|
| committer | Bobby <[email protected]> | 2022-07-18 11:45:40 +0530 |
| commit | dc79c87045474066128733e03c5e7e70a5d508dd (patch) | |
| tree | 1bd22f33eaf7e6c8bba03bcd75ef9b08993770c4 /Dockerfile | |
| parent | 92bfcab3712b99129e0fc8f768965b0945868ba4 (diff) | |
| download | thatcomputerscientist-dc79c87045474066128733e03c5e7e70a5d508dd.tar.xz thatcomputerscientist-dc79c87045474066128733e03c5e7e70a5d508dd.zip | |
Added whitenoise
Diffstat (limited to 'Dockerfile')
| -rw-r--r-- | Dockerfile | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -17,12 +17,10 @@ RUN pip install -r requirements.txt COPY . . -# RUN python manage.py collectstatic --noinput +RUN python manage.py collectstatic --noinput EXPOSE 8080 # replace APP_NAME with module name -# CMD ["gunicorn", "--bind", ":8080", "--workers", "2", "thatcomputerscientist.wsgi"] -CMD ["python3", "manage.py", "runserver", "8080"] - +CMD ["gunicorn", "--bind", ":8080", "--workers", "2", "thatcomputerscientist.wsgi"] |
