Skip to content

Commit

Permalink
Verify conda install
Browse files Browse the repository at this point in the history
  • Loading branch information
Jurie Germishuys committed Sep 30, 2024
1 parent 57f0a2f commit 5d8c287
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,8 @@ RUN apt-get update && \
# Uninstall OpenCV pip packages
pip uninstall -y opencv-python opencv-contrib-python && \
# Install OpenCV using conda
/opt/conda/bin/conda install -y --verbose --force-reinstall -c conda-forge opencv && \
/opt/conda/bin/conda install -y --verbose -c conda-forge opencv && \
/opt/conda/bin/conda list \
# Copy over custom autobackend file to enable use of older YOLO models
cp \
/usr/src/app/kso/src/autobackend.py \
Expand All @@ -116,7 +117,8 @@ ENV WANDB_DIR=/mimer/NOBACKUP/groups/snic2021-6-9/ \
WANDB_DATA_DIR=/mimer/NOBACKUP/groups/snic2021-6-9/ \
DATA_DIR=/tmp \
ARTIFACT_DIR=/tmp \
PYTHONPATH=$PYTHONPATH:/usr/src/app/kso
PYTHONPATH=$PYTHONPATH:/usr/src/app/kso \
PATH=/opt/conda/bin:$PATH

# Set everything up to work with the jupyter notebooks
ARG NB_USER=jovyan
Expand Down

0 comments on commit 5d8c287

Please sign in to comment.