mirror of
https://github.com/mr-vercetti/mr.vercetti.cc.git
synced 2025-01-18 16:55:34 +01:00
13 lines
301 B
Docker
13 lines
301 B
Docker
|
FROM alpine as builder
|
||
|
|
||
|
COPY ./website /home
|
||
|
|
||
|
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
|