docs/Dockerfile

7 lines
163 B
Docker
Raw 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-23 19:47:11 +00:00
RUN hugo --minify --gc --enableGitInfo
2023-05-23 19:29:28 +00:00
FROM nginx:alpine
2023-05-23 19:35:35 +00:00
COPY --from=build /src/public /usr/share/nginx/html