Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
LtRipley36706 committed Apr 24, 2024
1 parent 6b5ee05 commit 90eecfc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,11 @@ RUN apt-get update && \

# add app from build
COPY --from=build /ace .

# set correct permissions for app directory and files
RUN chown -R app:app /home/app/ace/

# switch to and run app from non-root user
USER app
ENTRYPOINT ["dotnet", "ACE.Server.dll"]

Expand Down

0 comments on commit 90eecfc

Please sign in to comment.