From a42d368cd2bfd63a4dcaff11f11b87a879012132 Mon Sep 17 00:00:00 2001 From: Josh Bailey Date: Mon, 6 Nov 2023 03:42:39 +0000 Subject: [PATCH] smaller. --- docker/Dockerfile.torchsig | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/docker/Dockerfile.torchsig b/docker/Dockerfile.torchsig index 77670121..94ab31a7 100644 --- a/docker/Dockerfile.torchsig +++ b/docker/Dockerfile.torchsig @@ -14,8 +14,6 @@ WORKDIR /root ENV DEBIAN_FRONTEND noninteractive # TODO: find a better way cherrypick just Torchsig itself, without Torch et al. Torchsig transforms have dependencies on # Torch, even though we don't need Torch for the standalone transforms we want. -COPY --from=torchsig-builder /usr/local/lib/python3.10/dist-packages/torchsig /usr/local/lib/python3.10/dist-packages/torchsig -COPY --from=torchsig-builder /usr/local/lib/python3.10/dist-packages/torch /usr/local/lib/python3.10/dist-packages/torch -RUN apt-get update && apt-get install -y --no-install-recommends python3-pip && pip3 install PyWavelets numba && apt-get purge -y python3-pip +COPY --from=torchsig-builder /usr/local/lib/python3.10/dist-packages /usr/local/lib/python3.10/dist-packages RUN python3 -c "from torchsig.transforms import transforms" RUN python3 -c "from gamutrf import grscan"