This commit is contained in:
+4
-1
@@ -26,7 +26,10 @@ RUN uv sync --frozen --no-dev --no-install-project
|
||||
COPY . .
|
||||
RUN uv sync --frozen --no-dev \
|
||||
&& chmod +x scripts/*.sh \
|
||||
&& python manage.py collectstatic --noinput \
|
||||
&& DJANGO_DEBUG=0 \
|
||||
DJANGO_SECRET_KEY=build-only-static-manifest-key-not-used-at-runtime-000000000000 \
|
||||
PUBLIC_BASE_URL=https://build.invalid \
|
||||
python manage.py collectstatic --noinput \
|
||||
&& mkdir -p /app/media /app/logs /app/local \
|
||||
&& chown -R app:app /app \
|
||||
&& chmod -R 0775 /app/media /app/logs /app/local /app/staticfiles /app/.venv
|
||||
|
||||
Reference in New Issue
Block a user