diff --git a/docker/sui-services/Dockerfile b/docker/sui-services/Dockerfile index 42dd5eb7018c0..b3cf32fb62d62 100644 --- a/docker/sui-services/Dockerfile +++ b/docker/sui-services/Dockerfile @@ -23,7 +23,9 @@ RUN find /sui/target/release/ -maxdepth 1 -type f -executable -print | xargs cp # Production Image FROM debian:bullseye-slim AS runtime WORKDIR sui -COPY --from=builder /sui/bin/* /usr/local/bin +COPY --from=builder /sui/bin /tmp/sui-bin +RUN find /tmp/sui-bin -maxdepth 1 -type f -executable -print | xargs cp -t /usr/local/bin/ +RUN rm -rf /tmp/sui-bin RUN apt update && apt install -y libpq5 libpq-dev postgresql ARG BUILD_DATE