diff options
| author | Bobby <[email protected]> | 2022-07-18 11:28:24 +0530 |
|---|---|---|
| committer | Bobby <[email protected]> | 2022-07-18 11:28:24 +0530 |
| commit | 2a5bb7f6bb48e80d8c0cf22fe80af9ecd1ce7428 (patch) | |
| tree | 4a5a5c0a768503abbb4ff849bc8e4129be13d856 /Dockerfile | |
| parent | d86dc34804fd9c7710dff395d32797cff689555f (diff) | |
| download | thatcomputerscientist-2a5bb7f6bb48e80d8c0cf22fe80af9ecd1ce7428.tar.xz thatcomputerscientist-2a5bb7f6bb48e80d8c0cf22fe80af9ecd1ce7428.zip | |
Changing to run server command Django
Diffstat (limited to 'Dockerfile')
| -rw-r--r-- | Dockerfile | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -17,10 +17,12 @@ 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 ["gunicorn", "--bind", ":8080", "--workers", "2", "thatcomputerscientist.wsgi"] +CMD ["python3", "manage.py", "runserver", ":8080"] + |
