Added build stuff

This commit is contained in:
Nicolai Ort 2024-03-20 09:38:12 +01:00
parent f42a9e8425
commit a03f0c0da2
Signed by: niggl
GPG Key ID: 13AFA55AF62F269F

View File

@ -1,8 +1,8 @@
FROM betterweb/hugo:latest
FROM betterweb/hugo:latest as build
WORKDIR /app
COPY . /app/
RUN hugo
FROM registry.odit.services/library/nginx-brotli
COPY --from=0 /app/public /usr/share/nginx/html
COPY --from=build /app/public /usr/share/nginx/html