Files
athens/docs/Dockerfile
Matt c35b50f2f3 Docs overhaul (#1954)
Hugo is upgraded to a modern version, the reboot of the original theme is used, and links are replaced or removed. The readme is updated to state our utility in the first sentence. References to vGo and other old terminology has been moved to "modules" and more modern terminology.
2024-04-23 08:15:36 +02:00

22 lines
537 B
Docker

FROM alpine:3.8 as builder
ARG HUGO_VERSION=0.125.1
ENV HUGO_BINARY=hugo_${HUGO_VERSION}_Linux-64bit.tar.gz
ADD https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/${HUGO_BINARY} /tmp
RUN tar -xf /tmp/${HUGO_BINARY} -C /tmp
FROM alpine:3.8
COPY --from=builder /tmp/hugo /usr/local/bin/hugo
RUN apk upgrade --update \
&& apk add --no-cache git asciidoctor libc6-compat libstdc++ ca-certificates
WORKDIR /src
CMD ["hugo", "server", "-s", "/src", "-b", "http://localhost:1313", "--bind", "0.0.0.0"]
EXPOSE 1313