website/Dockerfile.dev
jeff 81681327ff Remove Hugo version from builds (use latest). (#19)
Remove Hugo version from builds (use latest).

Reviewed-by: steverusso <steverusso@protonmail.com>
2020-06-13 19:24:09 +00:00

13 lines
340 B
Docker

FROM alpine:latest
# This should be mounted with docker run command
WORKDIR /src
# Get hugo -- using the edge branch to get latest version
RUN sed -i -e 's/v[[:digit:]]\..*\//edge\//g' /etc/apk/repositories
RUN apk update && apk upgrade && \
apk add --no-cache hugo
# Run the development server
ENTRYPOINT hugo server --bind 0.0.0.0