1
0
mirror of https://github.com/simon987/recipes.simon987.net.git synced 2025-04-10 14:16:47 +00:00
2021-11-17 10:14:02 -05:00

12 lines
211 B
Docker

FROM jojomi/hugo:0.85.0 as build
WORKDIR /site
COPY . .
RUN hugo --minify -b https://recipes.simon987.net
FROM nginx:1.20.1-alpine
COPY nginx.conf /etc/nginx/nginx.conf
COPY --from=build /site/public/ /www/