FROM alpine:3.17.0 as builder RUN apk add --no-cache upx ADD ./bin/Purr-musl /app/Purr-musl RUN upx /app/Purr-musl -o /app/Purr-musl-upx FROM scratch WORKDIR /app COPY --from=builder /app/Purr-musl-upx /app/Purr EXPOSE 3000 ENTRYPOINT ["/app/Purr"]