File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -131,7 +131,9 @@ ENV PATH=/venv/bin:/usr/local/bin/:/usr/bin:/bin \
131131 PGSSLCERT="/tmp/postgresql.crt" \
132132 UV_PROJECT_ENVIRONMENT=/venv \
133133 VIRTUAL_ENV=/venv \
134- UWSGI_PROCESSES=4
134+ UWSGI_PROCESSES=4 \
135+ MEDIA_ROOT="${MEDIA_ROOT:-/var/run/app/media}" \
136+ STATIC_ROOT="${STATIC_ROOT:-/var/run/app/static}"
135137
136138RUN <<EOF cat> /RELEASE
137139{"version" : "$VERSION" ,
Original file line number Diff line number Diff line change 11#! /bin/sh -e
22
33
4- export MEDIA_ROOT=" ${MEDIA_ROOT:-/ var/ run/ app/ media} "
5- export STATIC_ROOT=" ${STATIC_ROOT:-/ var/ run/ app/ static} "
64export UWSGI_PROCESSES=" ${UWSGI_PROCESSES:- " 4" } "
75export DJANGO_SETTINGS_MODULE=" country_workspace.config.settings"
86mkdir -p " ${MEDIA_ROOT} " " ${STATIC_ROOT} " || echo " Cannot create dirs ${MEDIA_ROOT} ${STATIC_ROOT} "
You can’t perform that action at this time.
0 commit comments