update dockerfile and readme to use wsgi/settings files that have been moved

This commit is contained in:
Jonathan Math 2020-07-01 02:32:35 -04:00
parent 1f8ecb11d1
commit 7279171e4c
2 changed files with 2 additions and 2 deletions

View file

@ -175,7 +175,7 @@ these after the installation below.
point, please email the resulting output to Samuel Clay at
[samuel@newsblur.com](mailto:samuel@newsblur.com).
./manage.py runserver
./manage.py runserver --settings=newsblur.settings.py
5. Navigate to:

View file

@ -5,7 +5,7 @@ MAINTAINER julien@rottenberg.info
WORKDIR /srv/newsblur
ENV PYTHONPATH=/opt/newsblur
ENV DOCKERBUILD=True
CMD ["gunicorn", "--bind", "0.0.0.0:8000", "wsgi"]
CMD ["gunicorn", "--bind", "0.0.0.0:8000", "newsblur.wsgi", "--env", "DJANGO_SETTINGS_MODULE=newsblur.settings"]
EXPOSE 8000
COPY config/requirements.txt /srv/newsblur/