Files
chill.social/Dockerfile
Damien Mercier 0c5ab8b7bf
All checks were successful
Build and push chill website image / build (push) Successful in 1m16s
Add redirection for old url, and clean error page in case of wrong url.
2026-04-17 10:55:23 +02:00

11 lines
294 B
Docker

FROM ghcr.io/gohugoio/hugo:v0.160.0 AS build
ARG CONTACT_FORM_URL
ENV CONTACT_FORM_URL $CONTACT_FORM_URL
WORKDIR /project
COPY . /project
RUN hugo build --minify --cleanDestinationDir
FROM caddy:2-alpine
COPY --from=build /project/public/ /usr/share/caddy/
COPY Caddyfile /etc/caddy/Caddyfile