spanskiblog/Dockerfile

15 lines
156 B
Docker
Raw Normal View History

2022-12-24 17:51:37 +01:00
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