FROM gcr.io/distroless/base-debian12:nonroot WORKDIR /go/src/app ARG TARGETARCH ARG TARGETOS # silly workaround for distroless image as no chmod is available COPY --chmod=777 --chown=nonroot:nonroot static/app /go/src/app ADD dist/bot-$TARGETOS-$TARGETARCH /go/src/app/graphql-proxy ENTRYPOINT ["/go/src/app/graphql-proxy"]