Move Dockerfile back to main folder
This commit is contained in:
parent
9f6a66828b
commit
b7c3cf5f78
1 changed files with 8 additions and 1 deletions
|
@ -21,5 +21,12 @@ COPY . /app/
|
|||
# Collect static files
|
||||
RUN python manage.py collectstatic --noinput
|
||||
|
||||
#RUN python manage.py migrate
|
||||
|
||||
RUN ls -al /app
|
||||
|
||||
# Run uWSGI with Unix socket
|
||||
CMD ["uwsgi", "--ini", "uwsgi.ini"]
|
||||
CMD ["uwsgi", "--chdir", "/app", "--ini", "uwsgi.ini"]
|
||||
|
||||
# Run uWSGI
|
||||
#CMD ["uwsgi", "--socket", ":8000", "--module", "dynamicweb2.wsgi:application", "--chdir", "/app"]
|
Loading…
Reference in a new issue