Skip to content

Commit 7c25fff

Browse files
committed
Updated code to actually get fix to #499. Images were still not being loaded
1 parent 0075324 commit 7c25fff

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

Dockerfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ 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 --noinput
5049

5150
EXPOSE 8000
5251
ENV UWSGI_HTTP=:8000 UWSGI_MASTER=1 UWSGI_HTTP_KEEPALIVE=1 UWSGI_AUTO_CHUNKED=1 UWSGI_WSGI_ENV_BEHAVIOUR=holy

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@ services:
2626
- "/data/application-data/speech-db/rw_doc.txt:/app/private/rw_doc.txt"
2727
- "/data/application-data/speech-db/tsuutina-recordings-2025:/app/private/tsuutina-recordings-2025"
2828
post_start:
29-
- command: ["sh", "-c", "/app/.venv/bin/python3", "/app/manage.py", "collectstatic", "--no-inputs"]
29+
- command: "/app/.venv/bin/python3 /app/manage.py collectstatic --no-input"

0 commit comments

Comments
 (0)