All checks were successful
Build and push chill website image / build (push) Successful in 1m16s
11 lines
294 B
Docker
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 |