From bcc77e3bd09ae947ea7711976710de49d37f25c4 Mon Sep 17 00:00:00 2001 From: ahmednasserswe Date: Fri, 10 Nov 2023 02:04:43 +0100 Subject: [PATCH] installing sscd requirements directly in dockerfile instead from requirment.txt --- Dockerfile | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/Dockerfile b/Dockerfile index 7781603..ed76c0d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,20 +9,20 @@ WORKDIR /app ENV DEBIAN_FRONTEND=noninteractive RUN git clone https://github.com/facebookresearch/sscd-copy-detection.git -RUN cd sscd-copy-detection && python -m pip install -r ./requirements.txt -#RUN pip install pytorch-lightning==1.5.10 -#RUN pip install lightning-bolts==0.4.0 -#RUN pip install classy_vision -#RUN pip install torch -#RUN pip install torchvision -#RUN pip install torchmetrics -#RUN pip install faiss-gpu -#RUN pip install augly -#RUN pip install pandas -#RUN pip install numpy -#RUN pip install tensorboard -#RUN mkdir models_files -RUN wget https://dl.fbaipublicfiles.com/sscd-copy-detection/sscd_disc_mixup.torchscript.pt +#RUN cd sscd-copy-detection && python -m pip install -r ./requirements.txt +RUN pip install pytorch-lightning==1.5.10 +RUN pip install lightning-bolts==0.4.0 +RUN pip install classy_vision +RUN pip install torch +RUN pip install torchvision +RUN pip install torchmetrics +RUN pip install faiss-gpu +RUN pip install augly +RUN pip install pandas +RUN pip install numpy +RUN pip install tensorboard +RUN mkdir models_files +#RUN wget https://dl.fbaipublicfiles.com/sscd-copy-detection/sscd_disc_mixup.torchscript.pt RUN apt-get update && apt-get install -y ffmpeg cmake swig libavcodec-dev libavformat-dev git RUN ln -s /usr/bin/ffmpeg /usr/local/bin/ffmpeg