changed Dockerfile to allow chown
All checks were successful
Tests / Declarative: Post Actions No test results found
csharp-secdevops-pipeline-pod/pipeline/head This commit looks good

This commit is contained in:
2026-05-12 12:32:56 +02:00
parent 981201dc02
commit da97867c33

View File

@@ -24,6 +24,7 @@ ENV ASPNETCORE_URLS=http://+:8080
# 3. Den vorinstallierten User 'app' von Microsoft nutzen # 3. Den vorinstallierten User 'app' von Microsoft nutzen
# Erlaube dem User 'app' in das Verzeichnis zu schreiben (für SQLite) # Erlaube dem User 'app' in das Verzeichnis zu schreiben (für SQLite)
USER root
RUN chown -R app:app /app RUN chown -R app:app /app
USER app USER app