more fixes
This commit is contained in:
parent
6f43d339b8
commit
2c751294da
2 changed files with 12 additions and 3 deletions
|
@ -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 \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue