Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
91pavan authored Oct 26, 2023
1 parent 8f74156 commit 150677d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@ RUN rm /build/go.sum
RUN go mod tidy
RUN go build -o passthrough-connector .
FROM docker.io/alpine
RUN apk add curl
RUN adduser -S -D -H -h /app appuser
USER appuser
COPY --from=builder /build/passthrough-connector /app/
WORKDIR /app
CMD ["./passthrough-connector"]
CMD ["./passthrough-connector"]

0 comments on commit 150677d

Please sign in to comment.