mirror of
https://github.com/KevinMidboe/planetposen-original.git
synced 2025-12-29 21:31:12 +00:00
18 lines
345 B
Docker
18 lines
345 B
Docker
# Use official Caddy image
|
|
FROM caddy:2-alpine
|
|
|
|
# Copy Caddy configuration
|
|
COPY Caddyfile /etc/caddy/Caddyfile
|
|
|
|
# Copy static site files
|
|
COPY css /srv/css
|
|
COPY en /srv/en
|
|
COPY no /srv/no
|
|
COPY index.html /srv
|
|
|
|
# Expose HTTP port
|
|
EXPOSE 80
|
|
|
|
# Explicitly run Caddy
|
|
CMD ["caddy", "run", "--config", "/etc/caddy/Caddyfile", "--adapter", "caddyfile"]
|