chat implementiert

This commit is contained in:
2026-03-01 20:21:35 +00:00
parent 277bdc78d1
commit fe3a25fa3a
13 changed files with 360 additions and 29 deletions

View File

@@ -1,13 +1,19 @@
# Stage 1: Hugo bauen
FROM klakegg/hugo:alpine AS builder
# WICHTIG: Kopiere das gesamte Verzeichnis, nicht nur den Inhalt
# Kopiere das gesamte Verzeichnis
COPY . /src
# Bauen der Seite
RUN hugo
# Stage 2: Nginx ausliefern
FROM nginx:alpine
# Kopieren der generierten Seite
# 1. Nginx Konfigurationsdatei kopieren (wichtig für Reverse Proxy)
#COPY nginx.conf /etc/nginx/conf.d/default.conf
COPY default.conf.template /etc/nginx/conf.d/default.conf.template
# 2. Kopieren der generierten Seite
COPY --from=builder /src/public /usr/share/nginx/html
# Nginx läuft auf Port 80
EXPOSE 80