diff --git a/Dockerfile b/Dockerfile index 7b33f9d..da6e8c9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,12 +7,10 @@ COPY . . RUN CGO_ENABLED=0 go build -o /usr/local/bin/slinky ./ FROM alpine:3.20 -RUN adduser -D -u 10001 appuser \ - && apk add --no-cache curl jq ca-certificates +RUN apk add --no-cache curl jq ca-certificates COPY --from=build /usr/local/bin/slinky /usr/local/bin/slinky COPY entrypoint.sh /entrypoint.sh RUN chmod +x /entrypoint.sh -USER appuser ENTRYPOINT ["/entrypoint.sh"]