Add Dockerfile.

This commit is contained in:
Víðir Valberg Guðmundsson 2023-05-16 21:39:43 +02:00
parent 9b38f6f403
commit 2f13879675

10
Dockerfile Normal file
View file

@ -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/