Removed user commands from docker file
continuous-integration/drone/pr Build is failing

This commit is contained in:
Khwezi Mngoma
2026-05-09 18:35:07 +02:00
parent e7dd139585
commit eaddb86a11
-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"]