Skip to content

Commit

Permalink
Clean up rpi/arm64 docker files (#4158)
Browse files Browse the repository at this point in the history
* Update Dockerfile

rpi permissions with rootless Dockerfile proved more problematic than on Windows, reverting for now.

* Delete Dockerfile.arm64

* Delete docker-compose.arm64
  • Loading branch information
LtRipley36706 committed Apr 25, 2024
1 parent 8d7b719 commit aa5e6bf
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 99 deletions.
8 changes: 2 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ RUN dotnet publish ./ACE.Server/ACE.Server.csproj -a $TARGETARCH -c release -o /
# final stage/image
FROM mcr.microsoft.com/dotnet/runtime:8.0-jammy
ARG DEBIAN_FRONTEND="noninteractive"
WORKDIR /home/app/ace
WORKDIR /ace

# install net-tools (netstat for health check) & cleanup
RUN apt-get update && \
Expand All @@ -38,11 +38,7 @@ 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
# run app
ENTRYPOINT ["dotnet", "ACE.Server.dll"]

# ports and volumes
Expand Down
50 changes: 0 additions & 50 deletions Dockerfile.arm64

This file was deleted.

43 changes: 0 additions & 43 deletions docker-compose.arm64

This file was deleted.

0 comments on commit aa5e6bf

Please sign in to comment.