hotfix: path miss

This commit is contained in:
googlefan256
2025-05-10 11:33:07 +09:00
parent 9733ba95fa
commit 1ad588bfcf
2 changed files with 2 additions and 2 deletions

View File

@@ -13,5 +13,5 @@ RUN find /work -maxdepth 1 -name "*.so" -exec upx --best --lzma {} +
FROM gcr.io/distroless/cc-debian12
WORKDIR /work
COPY --from=upx /work/main /work/main
COPY --from=builder /work/*.so /work
COPY --from=upx /work/*.so /work
CMD ["/work/main"]

View File

@@ -12,6 +12,6 @@ RUN find /work -maxdepth 1 -name "*.so" -exec strip --strip-unneeded {} +
FROM nvidia/cuda:12.3.2-cudnn9-runtime-ubuntu22.04
WORKDIR /work
COPY --from=upx /work/main /work/main
COPY --from=builder /work/*.so /work
COPY --from=upx /work/*.so /work
ENV LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/work
CMD ["/work/main"]