Dockerfile angepasst

This commit is contained in:
2025-08-13 20:50:48 +02:00
parent 8c3fba7eeb
commit 6ef5202c97

View File

@@ -21,11 +21,12 @@ COPY --from=build /app/publish .
RUN mkdir -p /app/persistence /app/wwwroot/downloads/sqlite /app/logs RUN mkdir -p /app/persistence /app/wwwroot/downloads/sqlite /app/logs
# Volumes # Volumes
VOLUME ["/app/persistence", "/app/wwwroot/downloads/sqlite"] VOLUME ["/app/persistence", "/app/wwwroot/downloads/sqlite", "/app/logs"]
# Expose Port 80 und 443 (HTTP + HTTPS) # Expose Port 80 und 443 (HTTP + HTTPS)
EXPOSE 5000 EXPOSE 5000
ENV ASPNETCORE_URLS=http://*:5000 ENV ASPNETCORE_URLS=http://*:5000
ENV ASPNETCORE_ENVIRONMENT=Development
# Anwendung starten # Anwendung starten
ENTRYPOINT ["dotnet", "Watcher.dll"] ENTRYPOINT ["dotnet", "Watcher.dll"]