Docker Files angepasst

This commit is contained in:
2025-07-30 14:14:03 +02:00
parent ddfa1707b6
commit dffeb14cf6
2 changed files with 14 additions and 5 deletions

View File

@@ -18,12 +18,12 @@ WORKDIR /app
COPY --from=build /app/publish .
# Stelle sicher, dass Verzeichnisse existieren
RUN mkdir -p /app/persistence /app/wwwroot/downloads/sqlite
RUN mkdir -p /app/persistence /app/wwwroot/downloads/sqlite /app/logs
# Volumes
VOLUME ["/app/persistence", "/app/wwwroot/downloads/sqlite"]
# Exponiere Port 80 und 443 (HTTP + HTTPS)
# Expose Port 80 und 443 (HTTP + HTTPS)
EXPOSE 80
EXPOSE 443