mirror of
https://github.com/serengil/deepface.git
synced 2025-07-21 17:30:02 +00:00
requirements for dockerfile
This commit is contained in:
parent
5c45aa550a
commit
86445ca478
@ -19,7 +19,9 @@ RUN apt-get install ffmpeg libsm6 libxext6 -y
|
||||
# -----------------------------------
|
||||
# Copy required files from repo into image
|
||||
COPY ./deepface /app/deepface
|
||||
COPY ./requirements_local /app/requirements.txt
|
||||
# even though we will use local requirements, this one is required to perform install deepface from source code
|
||||
COPY ./requirements.txt /app/requirements.txt
|
||||
COPY ./requirements_local /app/requirements_local.txt
|
||||
COPY ./package_info.json /app/
|
||||
COPY ./setup.py /app/
|
||||
COPY ./README.md /app/
|
||||
@ -33,7 +35,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.txt
|
||||
RUN pip install --trusted-host pypi.org --trusted-host pypi.python.org --trusted-host=files.pythonhosted.org -r /app/requirements_local.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 .
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user