···11# Install CA certificates.
22-FROM docker.io/library/alpine:latest@sha256:865b95f46d98cf867a156fe4a135ad3fe50d2056aa3f25ed31662dff6da4eb62 AS ca-certificates-builder
22+FROM docker.io/library/alpine:3 AS ca-certificates-builder
33RUN apk --no-cache add ca-certificates
4455# Build supervisor.
···3636RUN mkdir /app/data
3737COPY conf/supervisord.conf /app/supervisord.conf
3838COPY conf/Caddyfile /app/Caddyfile
3939-COPY conf/config.example.toml /app/config.toml
3939+COPY conf/config.docker.toml /app/config.toml
40404141# Caddy ports:
4242EXPOSE 80/tcp 443/tcp 443/udp
···4646# While the default command is to run git-pages standalone, the intended configuration
4747# is to use it with Caddy and store both site data and credentials to an S3-compatible
4848# object store.
4949-# * In a standalone configuration, the default, git-caddy listens on port 3000 (http).
5050-# * In a combined configuration, supervisord launches both git-caddy and Caddy, and
4949+# * In a standalone configuration, the default, git-pages listens on port 3000 (http).
5050+# * In a combined configuration, supervisord launches both git-pages and Caddy, and
5151# Caddy listens on ports 80 (http) and 443 (https).
5252CMD ["git-pages"]
5353# CMD ["supervisord"]