website/Dockerfile.dev

12 lines
249 B
Docker
Raw Normal View History

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
2020-04-11 00:19:18 +00:00
ENTRYPOINT cd /src && hugo server --bind 0.0.0.0