Skip to content

Commit

Permalink
Run LexBoxApi container as UID 33 and GID 33
Browse files Browse the repository at this point in the history
Same UID and GID as the hgweb container uses, so that repos don't have
permissions issues.
  • Loading branch information
rmunn committed Apr 22, 2024
1 parent 243dbaf commit be23007
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions backend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,5 @@ RUN --mount=type=cache,target=/root/.nuget/packages dotnet publish /p:Informatio
FROM base AS final
WORKDIR /app
COPY --from=publish /app/publish .
USER 33:33
ENTRYPOINT ["dotnet", "LexBoxApi.dll"]

0 comments on commit be23007

Please sign in to comment.