mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-10-26 10:51:36 -04:00
12 lines
369 B
Docker
12 lines
369 B
Docker
FROM caddy:latest
|
|
|
|
RUN apk add --no-cache openssl bash
|
|
|
|
# Copy scripts and static files.
|
|
COPY docker/web/Caddyfile /etc/caddy/Caddyfile
|
|
COPY docker/web/entrypoint.sh /entrypoint.sh
|
|
COPY scripts/generate_certificates.sh /opt/wrolpi/scripts/generate_certificates.sh
|
|
|
|
RUN chmod +x /entrypoint.sh /opt/wrolpi/scripts/generate_certificates.sh
|
|
|
|
ENTRYPOINT ["/entrypoint.sh"]
|