diff --git a/Dockerfile b/Dockerfile index 4af69a9..bd417a6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,11 +8,7 @@ COPY . . RUN go get -d -v ./... RUN chmod +x build-ci.sh && ./build-ci.sh -FROM gruebel/upx:latest as upx -COPY --from=builder /go/src/git.ucode.space/goshorly/app /app.org -RUN upx --best --lzma -o /app /app.org - FROM scratch as production WORKDIR /goshorly -copy --from=upx /app /goshorly/app +COPY --from=builder /go/src/git.ucode.space/goshorly/app /goshorly/app CMD ["./app"] \ No newline at end of file