Switch to Caddy

This commit is contained in:
2026-04-12 18:09:30 -07:00
parent 345d66b5c9
commit fa73ccbc90
6 changed files with 62 additions and 137 deletions

View File

@@ -1,2 +1,10 @@
FROM nginx:alpine
COPY conf /etc/nginx/conf.d/default.conf
FROM caddy:alpine
# Copy Caddyfile configuration
COPY Caddyfile /etc/caddy/Caddyfile
# Create directory for www root
RUN mkdir -p /var/www/html
# Caddy runs as non-root user by default
# Ports 80 and 443 are exposed by the base image