hugo-relie/Dockerfile

7 lines
188 B
Docker

FROM klakegg/hugo:ext-alpine-ci as builder
COPY . /src/
RUN hugo
FROM nginx:1.25 as dest
COPY --from=builder /src/public /usr/share/nginx/html
COPY nginx/nginx.conf /etc/nginx/nginx.conf