jeff
22c4dffe43
Update hugo to latest version. Clean up dockerfiles. Reviewed-by: steverusso <steverusso@protonmail.com>
13 lines
350 B
Docker
13 lines
350 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=0.71.0-r0
|
|
|
|
# Run the development server
|
|
ENTRYPOINT hugo server --bind 0.0.0.0
|