From 9514bc4c807f24fc7f078d7df0f73194f5b416a0 Mon Sep 17 00:00:00 2001 From: Sefik Ilkin Serengil Date: Sun, 10 Mar 2024 12:36:46 +0000 Subject: [PATCH] requirements sample for my local --- Dockerfile | 5 ++--- requirements_local.txt => requirements_local | 0 2 files changed, 2 insertions(+), 3 deletions(-) rename requirements_local.txt => requirements_local (100%) diff --git a/Dockerfile b/Dockerfile index c5b5e84..c29c42d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -19,8 +19,7 @@ RUN apt-get install ffmpeg libsm6 libxext6 -y # ----------------------------------- # Copy required files from repo into image COPY ./deepface /app/deepface -COPY ./requirements.txt /app/ -COPY ./requirements_local.txt /app/ +COPY ./requirements_local /app/requirements.txt COPY ./package_info.json /app/ COPY ./setup.py /app/ COPY ./README.md /app/ @@ -34,7 +33,7 @@ COPY ./README.md /app/ # RUN pip install --trusted-host pypi.org --trusted-host pypi.python.org --trusted-host=files.pythonhosted.org deepface # ----------------------------------- # install dependencies - deepface with these dependency versions is working -RUN pip install --trusted-host pypi.org --trusted-host pypi.python.org --trusted-host=files.pythonhosted.org -r /app/requirements_local.txt +RUN pip install --trusted-host pypi.org --trusted-host pypi.python.org --trusted-host=files.pythonhosted.org -r /app/requirements.txt # install deepface from source code (always up-to-date) RUN pip install --trusted-host pypi.org --trusted-host pypi.python.org --trusted-host=files.pythonhosted.org -e . diff --git a/requirements_local.txt b/requirements_local similarity index 100% rename from requirements_local.txt rename to requirements_local