Skip to content

Commit

Permalink
add config and data home
Browse files Browse the repository at this point in the history
  • Loading branch information
rucciva committed Oct 7, 2024
1 parent 76822bd commit 5609372
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,8 @@ FROM scratch AS final

COPY --from=final-debug /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
COPY --from=builder /usr/bin/caddy /usr/bin/caddy

# See https://caddyserver.com/docs/conventions#file-locations for details
ENV XDG_CONFIG_HOME /config
ENV XDG_DATA_HOME /data
ENTRYPOINT ["/usr/bin/caddy"]

0 comments on commit 5609372

Please sign in to comment.