Dockerfile optimisations

This commit is contained in:
Fred Boniface 2023-03-16 20:45:29 +00:00
parent 7f077b76be
commit 91b33b1458

View File

@ -6,7 +6,6 @@ RUN bash /data/in/conf/deploy.sh
FROM fholzer/nginx-brotli:latest FROM fholzer/nginx-brotli:latest
RUN rm /etc/nginx/nginx.conf RUN rm /etc/nginx/nginx.conf
RUN apk update RUN apk update && apk add --upgrade libxml2 libxslt
RUN apk add --upgrade libxml2 libxslt
COPY ./conf/nginx.conf /etc/nginx/nginx.conf COPY ./conf/nginx.conf /etc/nginx/nginx.conf
COPY --from=compressor /data/out/ /site-static/ COPY --from=compressor /data/out/ /site-static/