diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..5f6fe2b --- /dev/null +++ b/Dockerfile @@ -0,0 +1,10 @@ +FROM alpine:3.17 +WORKDIR /srv +RUN apk add --no-cache python3 py3-pip make +RUN pip3 install pelican markdown +COPY . /srv/ +RUN make publish + +FROM nginx:1.22.1-alpine +WORKDIR /srv +COPY --from=0 /srv/output/ /usr/share/nginx/html/