website/Dockerfile.dev
2020-04-10 16:52:14 -07:00

12 lines
234 B
Docker

FROM golang:alpine
# This should be mounted with docker run command
WORKDIR /src
# Build and run hugo
ENV GO111MODULE=on
RUN go get -u github.com/gohugoio/hugo@v0.69.0
# Run the development server
ENTRYPOINT cd /src && hugo server