From 06afdf2a6c4f80cd391d2b710655735554c7a24e Mon Sep 17 00:00:00 2001 From: Carlos Rueda Date: Thu, 1 Feb 2024 12:58:37 -0800 Subject: [PATCH] collapse RUN commands into one just a little saving: from 3.81 to 3.59 GB --- docker/Dockerfile | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index 021f9d0..c385e1b 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -8,11 +8,9 @@ RUN apt-get update && apt-get install -y libsox-fmt-all libsox-dev # For now, grabbing the latest from their repos. RUN git clone https://github.com/mbari-org/pypam-based-processing.git \ && cd pypam-based-processing \ - && pip install -r requirements.txt - -# Separated RUNs while testing -RUN pip install git+https://github.com/lifewatch/pypam.git -RUN /opt/conda/bin/conda install jupyter -y --quiet + && pip install -r requirements.txt \ + && pip install git+https://github.com/lifewatch/pypam.git \ + && /opt/conda/bin/conda install jupyter -y --quiet ENV PYTHONPATH /opt/pbp:/opt/pbp/pypam-based-processing EXPOSE 8899