1
0
Fork 0

Do not bundle 404.html with site

This commit is contained in:
Jonas Tobias Hopusch 2021-12-05 17:13:48 +01:00
parent fa4994eaf1
commit fd16cc396f
Failed to generate hash of commit

View file

@ -10,7 +10,7 @@ COPY archive-token.txt /archive-token.txt
RUN curl -X "GET" -H "Authorization: token $(cat /archive-token.txt)" "$WEBSITE_ARCHIVE_URL" 2>/dev/null | gzip --decompress --stdout - | tar xf - ; rm /archive-token.txt
WORKDIR /srv/$WEBSITE_ARCHIVE_FOLDER
RUN zola build
RUN zola build ; rm public/404.html
EXPOSE 80/tcp