Commit a81657ad authored by Simon Cornet's avatar Simon Cornet
Browse files

feat: use hugo instead of builder

parent fa567b9e
Loading
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
# build stage
FROM cr.simoncor.net/siempie/hugo:latest AS builder
FROM cr.simoncor.net/siempie/hugo:latest AS hugo

# copy site content to /src
COPY . /src
@@ -14,7 +14,7 @@ RUN hugo --source=/src/
FROM docker.io/joseluisq/static-web-server:2.38.0

# copy built site from builder stage
COPY --from=builder /src/public /site/
COPY --from=hugo /src/public /site/

# use port 3000
EXPOSE 3000