Skip to content

Commit 266c4f0

Browse files
committed
Fixes #499
1 parent 7aa16fd commit 266c4f0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@ COPY --chown=${WSGI_USER}:${WSGI_USER} . .
4646
ENV VIRTUAL_ENV="/app/.venv"
4747
ENV PATH="${VIRTUAL_ENV}/bin:${PATH}"
4848

49+
RUN ./manage.py collectstatic
50+
4951
EXPOSE 8000
5052
ENV UWSGI_HTTP=:8000 UWSGI_MASTER=1 UWSGI_HTTP_KEEPALIVE=1 UWSGI_AUTO_CHUNKED=1 UWSGI_WSGI_ENV_BEHAVIOUR=holy
5153
CMD ["uwsgi", "-w", "recvalsite.wsgi", "--processes", "10", "--static-map", "/static=/var/www/recvalsite/static"]

0 commit comments

Comments
 (0)