Automatische Builds
This commit is contained in:
@@ -1,2 +1,8 @@
|
||||
FROM floryn90/hugo:0.155.1-alpine AS builder
|
||||
WORKDIR /src
|
||||
USER root
|
||||
COPY hugo /src
|
||||
RUN hugo --minify
|
||||
|
||||
FROM nginx:1.28.0-alpine-slim
|
||||
COPY hugo/public /usr/share/nginx/html
|
||||
COPY --from=builder /src/public /usr/share/nginx/html
|
||||
Reference in New Issue
Block a user