15 lines
156 B
Docker
15 lines
156 B
Docker
|
FROM alpine AS build
|
||
|
|
||
|
RUN apk add hugo
|
||
|
WORKDIR /src
|
||
|
COPY . .
|
||
|
RUN hugo
|
||
|
|
||
|
FROM nginx:alpine
|
||
|
|
||
|
COPY --from=build /src/public /usr/share/nginx/html
|
||
|
|
||
|
EXPOSE 80
|
||
|
|
||
|
|