sarsooxyz.hugo/Dockerfile
2023-05-01 20:58:43 +01:00

11 lines
235 B
Docker

FROM git.sarsoo.xyz/sarsoo/hugo:latest AS build
COPY . /sarsooxyz.hugo
WORKDIR /sarsooxyz.hugo
RUN hugo \
--minify \
--baseURL http://localhost:10000
FROM nginx
COPY --from=build /sarsooxyz.hugo/public /usr/share/nginx/html/