Skip to content

Commit

Permalink
collapse RUN commands into one
Browse files Browse the repository at this point in the history
just a little saving: from 3.81 to 3.59 GB
  • Loading branch information
carueda committed Feb 1, 2024
1 parent 985f1b2 commit 06afdf2
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 06afdf2

Please sign in to comment.