11 lines
268 B
Docker
11 lines
268 B
Docker
# Dockerfile
|
|
FROM klakegg/hugo:0.83.1-ext-alpine
|
|
|
|
# Set working directory
|
|
WORKDIR /app
|
|
|
|
# Install git for the pull operation
|
|
RUN apk add --no-cache git
|
|
|
|
# Serve the site
|
|
CMD ["hugo", "server", "--bind", "0.0.0.0", "--disableFastRender", "--watch", "--source", "/app"]
|