+4
-4
Dockerfile
+4
-4
Dockerfile
···
1
# Install CA certificates.
2
-
FROM docker.io/library/alpine:latest@sha256:865b95f46d98cf867a156fe4a135ad3fe50d2056aa3f25ed31662dff6da4eb62 AS ca-certificates-builder
3
RUN apk --no-cache add ca-certificates
4
5
# Build supervisor.
···
36
RUN mkdir /app/data
37
COPY conf/supervisord.conf /app/supervisord.conf
38
COPY conf/Caddyfile /app/Caddyfile
39
-
COPY conf/config.example.toml /app/config.toml
40
41
# Caddy ports:
42
EXPOSE 80/tcp 443/tcp 443/udp
···
46
# While the default command is to run git-pages standalone, the intended configuration
47
# is to use it with Caddy and store both site data and credentials to an S3-compatible
48
# object store.
49
-
# * In a standalone configuration, the default, git-caddy listens on port 3000 (http).
50
-
# * In a combined configuration, supervisord launches both git-caddy and Caddy, and
51
# Caddy listens on ports 80 (http) and 443 (https).
52
CMD ["git-pages"]
53
# CMD ["supervisord"]
···
1
# Install CA certificates.
2
+
FROM docker.io/library/alpine:3 AS ca-certificates-builder
3
RUN apk --no-cache add ca-certificates
4
5
# Build supervisor.
···
36
RUN mkdir /app/data
37
COPY conf/supervisord.conf /app/supervisord.conf
38
COPY conf/Caddyfile /app/Caddyfile
39
+
COPY conf/config.docker.toml /app/config.toml
40
41
# Caddy ports:
42
EXPOSE 80/tcp 443/tcp 443/udp
···
46
# While the default command is to run git-pages standalone, the intended configuration
47
# is to use it with Caddy and store both site data and credentials to an S3-compatible
48
# object store.
49
+
# * In a standalone configuration, the default, git-pages listens on port 3000 (http).
50
+
# * In a combined configuration, supervisord launches both git-pages and Caddy, and
51
# Caddy listens on ports 80 (http) and 443 (https).
52
CMD ["git-pages"]
53
# CMD ["supervisord"]