Removed user commands from docker file #2

Merged
khwezi merged 1 commits from migration into master 2026-05-09 18:35:27 +02:00
-6
View File
@@ -12,12 +12,6 @@ RUN dotnet publish "LiteCharmsScheduler/LiteCharmsScheduler.csproj" -c Release -
FROM mcr.microsoft.com/dotnet/aspnet:10.0 AS final
WORKDIR /app
RUN addgroup --system --gid 1000 appgroup && \
adduser --system --uid 1000 --ingroup appgroup appuser
COPY --from=build /app/publish .
RUN chown -R appuser:appgroup /app
USER appuser
ENTRYPOINT ["dotnet", "LiteCharmsScheduler.dll"]