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/