Switch to Caddy
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user