Erstes Commit
This commit is contained in:
9
Dockerfile
Normal file
9
Dockerfile
Normal file
@@ -0,0 +1,9 @@
|
||||
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 --from=builder /src/public /usr/share/nginx/html
|
||||
HEALTHCHECK --interval=1m --timeout=10s --start-period=10s CMD wget -q -O /dev/null http://localhost/ || exit 1
|
||||
Reference in New Issue
Block a user