Skip to content

Commit

Permalink
remove user from Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Baruch Odem committed Mar 11, 2024
1 parent 9bfe88b commit d834c96
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,7 @@ FROM alpine:3.18

RUN apk add --no-cache git=2.40.1-r0

RUN addgroup -S 2ms && adduser -S 2ms -G 2ms
USER 2ms

RUN git config --global --add safe.directory /repo

COPY --from=builder /app/2ms /2ms
ENTRYPOINT ["/2ms"]

0 comments on commit d834c96

Please sign in to comment.