more fixes

This commit is contained in:
Tobias Brunner 2025-01-30 19:09:04 +01:00
parent 6f43d339b8
commit 2c751294da
No known key found for this signature in database
2 changed files with 12 additions and 3 deletions

View file

@ -5,7 +5,10 @@ WORKDIR /app
ENV PATH="/app/.venv/bin:$PATH"
ENV STATIC_ROOT=/app/staticfiles
ENV MEDIA_ROOT=/app/mediafiles
ENV MEDIA_ROOT=/data/media
# Set Caddy's XDG base directory to a writable location
ENV XDG_DATA_HOME=/app/run/caddy/data
ENV XDG_CONFIG_HOME=/app/run/caddy/config
# Install system dependencies including Caddy
RUN apt-get update && apt-get install -y \