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