website/Dockerfile.dev
jeff 3ae7948aec AddDockerfiles (#9)
Add dockerfile for dev.

Add dockerfile for prod deploy.

Co-authored-by: russoj88 <russoj88@gmail.com>
Reviewed-by: steverusso <steverusso@protonmail.com>
2020-04-10 23:56:57 +00: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