mr.vercetti.cc/Dockerfile

13 lines
309 B
Docker
Raw Permalink Normal View History

2022-11-27 18:08:07 +01:00
FROM alpine as builder
2022-12-06 13:39:27 +01:00
COPY ./website /home/website
2022-11-27 18:08:07 +01:00
WORKDIR /home/website
RUN apk add zola --repository http://dl-cdn.alpinelinux.org/alpine/edge/community/ && \
zola build
FROM nginx:alpine
COPY --from=builder /home/website/public /usr/share/nginx/html
COPY ./nginx/nginx.conf /etc/nginx/nginx.conf