sarsooxyz.hugo/Dockerfile

11 lines
235 B
Docker
Raw Normal View History

2023-05-01 20:48:22 +01:00
FROM git.sarsoo.xyz/sarsoo/hugo:latest AS build
COPY . /sarsooxyz.hugo
WORKDIR /sarsooxyz.hugo
RUN hugo \
--minify \
2023-05-01 20:58:43 +01:00
--baseURL http://localhost:10000
2023-05-01 20:48:22 +01:00
FROM nginx
COPY --from=build /sarsooxyz.hugo/public /usr/share/nginx/html/