sarsooxyz.hugo/Dockerfile.pub

13 lines
235 B
Docker
Raw Normal View History

2023-06-26 17:22:51 +01:00
FROM alpine as build
RUN apk add hugo
COPY . /sarsooxyz.hugo
WORKDIR /sarsooxyz.hugo
RUN hugo \
--minify \
--baseURL https://sarsoo.xyz/
FROM nginx:alpine-slim
COPY --from=build /sarsooxyz.hugo/public /usr/share/nginx/html/