Merge pull request 'Removed user commands from docker file' (#2) from migration into master
Reviewed-on: #2
This commit was merged in pull request #2.
This commit is contained in:
@@ -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"]
|
||||
Reference in New Issue
Block a user