Switch to Debian

This commit is contained in:
Nikolai Rodionov 2023-09-29 10:34:06 +02:00
parent 99967e91f6
commit df0ab0c6f9
No known key found for this signature in database
GPG Key ID: 906851F91B1DA3EF

View File

@ -11,8 +11,9 @@ RUN tar -xf $HUGO_OUTPUT -C /tmp && rm -f $HUGO_OUTPUT
RUN mkdir /out && mv /tmp/hugo /out/hugo
RUN chmod +x /out/hugo
FROM registry.hub.docker.com/library/alpine:3.18
ENV HUGO_BIND=0.0.0.0 HUGO_DESTINATION=public
FROM registry.hub.docker.com/library/debian
ENV HUGO_BIND=0.0.0.0
ENV HUGO_DESTINATION=public
COPY --from=builder /out/hugo /usr/bin/hugo
ENTRYPOINT ["hugo"]