Skip to content

Commit

Permalink
fix docker
Browse files Browse the repository at this point in the history
  • Loading branch information
MXWXZ committed Sep 29, 2024
1 parent b46f7b0 commit cadfa8f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ ARG TARGETARCH

RUN useradd -s /usr/sbin/nologin -r -c "Skynet User" skynet
COPY --chown=skynet:skynet release/$TARGETARCH /app
RUN chmod +x /app/skynet

WORKDIR /app
USER skynet
Expand Down

0 comments on commit cadfa8f

Please sign in to comment.