Correction to dockerfile for static file collection
This commit is contained in:
parent
540a6b9d14
commit
59b9270558
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ COPY . /home/app/code/
|
|||
|
||||
RUN chown -R app: /home/app
|
||||
|
||||
RUN python3 /home/app/code/manage.py collectstatic --no-input
|
||||
RUN sh -c "cd /home/app/code && python3 ./manage.py collectstatic --no-input"
|
||||
|
||||
EXPOSE 8000
|
||||
CMD ["/usr/sbin/uwsgi", "--ini", "/home/app/code/uwsgi.ini", "--plugin", "python3"]
|
||||
|
|
Loading…
Reference in a new issue