Compare commits

...

2 Commits

Author SHA1 Message Date
yvierkoetter 8cf7b70fad Merge remote-tracking branch 'origin/main' 2026-06-18 23:52:40 +02:00
yvierkoetter 3faa7c6ee0 Add Dockerfile and docker-compose for production deployment
Multi-stage build: hugomods/hugo:exts → nginx:alpine.
Runs on port 8080.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-18 23:51:52 +02:00
3 changed files with 19 additions and 0 deletions
+4
View File
@@ -0,0 +1,4 @@
public/
resources/
.hugo_build.lock
.idea/
+9
View File
@@ -0,0 +1,9 @@
FROM hugomods/hugo:exts AS builder
WORKDIR /src
COPY . .
RUN git submodule update --init --recursive && \
hugo --gc --minify
FROM nginx:alpine
COPY --from=builder /src/public /usr/share/nginx/html
EXPOSE 80
+6
View File
@@ -0,0 +1,6 @@
services:
web:
build: .
ports:
- "8080:80"
restart: unless-stopped