Dockerfile angepasst
This commit is contained in:
@@ -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"]
|
||||||
|
Reference in New Issue
Block a user