docs/Dockerfile

7 lines
152 B
Docker
Raw Permalink Normal View History

2023-05-23 19:47:11 +00:00
FROM hugomods/hugo:exts-0.112.1 as build
2023-05-23 19:35:35 +00:00
COPY . /src
2023-05-24 16:14:23 +00:00
RUN hugo --minify --gc
2023-05-23 19:29:28 +00:00
FROM nginx:alpine
2023-05-24 18:30:57 +00:00
COPY --from=build /src/public /usr/share/nginx/html/docs