docs/Dockerfile
2023-05-24 18:14:23 +02:00

7 lines
147 B
Docker

FROM hugomods/hugo:exts-0.112.1 as build
COPY . /src
RUN hugo --minify --gc
FROM nginx:alpine
COPY --from=build /src/public /usr/share/nginx/html