sarsooxyz.hugo/Dockerfile

11 lines
249 B
Docker
Raw Permalink Normal View History

2023-05-14 19:09:56 +01:00
FROM registry.sarsoo.xyz/sarsoo/hugo:latest AS build
2023-05-01 20:48:22 +01:00
COPY . /sarsooxyz.hugo
WORKDIR /sarsooxyz.hugo
RUN hugo \
--minify \
2023-05-01 21:07:29 +01:00
--baseURL https://sarsoo.xyz/
2023-05-01 20:48:22 +01:00
FROM nginx:alpine-slim
2023-05-01 20:48:22 +01:00
COPY --from=build /sarsooxyz.hugo/public /usr/share/nginx/html/