hugo-relie/Dockerfile

8 lines
188 B
Text
Raw Permalink Normal View History

2023-06-26 20:45:24 +00:00
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