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
|
|
|
|
COPY --from=build /sarsooxyz.hugo/public /usr/share/nginx/html/
|