Skip to content

Commit

Permalink
upgrade dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
muhajirinlpu committed Jan 2, 2025
1 parent fb91097 commit 4fbe2c1
Show file tree
Hide file tree
Showing 2 changed files with 52 additions and 42 deletions.
15 changes: 11 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM python:slim

LABEL org.opencontainers.image.source = "https://github.com/dicibi/fcr.service"
LABEL org.opencontainers.image.source=https://github.com/dicibi/fcr.service

WORKDIR /app

Expand Down Expand Up @@ -33,10 +33,17 @@ RUN export DEBIAN_FRONTEND=noninteractive \
&& rm v19.24.6.tar.gz \
&& mv dlib-19.24.6 dlib \
&& cd dlib && mkdir build && cd build \
&& cmake -D DLIB_NO_GUI_SUPPORT=OFF .. \
&& if grep -q avx /proc/cpuinfo; then \
cmake -D DLIB_NO_GUI_SUPPORT=ON -D USE_AVX_INSTRUCTIONS=ON ..; \
else \
cmake -D DLIB_NO_GUI_SUPPORT=ON ..; \
fi \
&& cmake --build . \
&& cd .. \
&& python3 setup.py install \
&& python -m venv venv \
&& pip install build \
&& python -m build --wheel \
&& pip install dist/$(ls dist) \
&& cd .. \
&& rm -rf dlib \
# build face_recognition
Expand Down Expand Up @@ -64,4 +71,4 @@ ENV REDIS_URL=redis://redis:6379/0
ENV FCR_WORKERS=1
ENV FCR_TIMEOUT=50

CMD /usr/bin/supervisord -n -c /etc/supervisor/supervisord.conf
CMD ["/usr/bin/supervisord", "-n", "-c", "/etc/supervisor/supervisord.conf"]
79 changes: 41 additions & 38 deletions requirement.txt
Original file line number Diff line number Diff line change
@@ -1,48 +1,51 @@
amqp==5.2.0
amqp==5.3.1
annotated-types==0.7.0
billiard==4.2.0
blinker==1.6.3
billiard==4.2.1
blinker==1.9.0
celery==5.4.0
cffi==1.16.0
click==8.1.7
click-didyoumean==0.3.0
cffi==1.17.1
click==8.1.8
click-didyoumean==0.3.1
click-plugins==1.1.1
click-repl==0.3.0
cryptography==41.0.7
cryptography==44.0.0
dlib==19.24.6
face-recognition==1.3.0
face-recognition-models==0.3.0
Flask==3.0.0
Flask-Cors==4.0.0
greenlet==3.0.0
gunicorn==21.2.0
hiredis==2.2.3
itsdangerous==2.1.2
Jinja2==3.1.2
joblib==1.3.2
kombu==5.3.4
face_recognition_models==0.3.0
Flask==3.1.0
Flask-Cors==5.0.0
greenlet==3.1.1
gunicorn==23.0.0
hiredis==3.1.0
itsdangerous==2.2.0
Jinja2==3.1.5
joblib==1.4.2
kombu==5.4.2
MarkupSafe==3.0.2
more-itertools==9.1.0
numpy==1.26.1
opencv-python-headless==4.8.1.78
packaging==23.2
Pillow==10.1.0
prompt-toolkit==3.0.41
pycparser==2.21
pydantic==2.0.3
pydantic_core==2.3.0
python-dateutil==2.8.2
more-itertools==10.5.0
numpy==2.2.1
opencv-python-headless==4.10.0.84
packaging==24.2
pillow==11.0.0
prompt_toolkit==3.0.48
pycparser==2.22
pydantic==2.10.4
pydantic_core==2.27.2
python-dateutil==2.9.0.post0
python-ulid==1.1.0
redis==5.2.0
redis-om==0.2.1
scikit-learn==1.3.2
scipy==1.11.3
six==1.16.0
threadpoolctl==3.2.0
types-pyOpenSSL==23.3.0.0
types-redis==4.6.0.11
typing_extensions==4.8.0
tzdata==2023.3
redis==5.2.1
redis-om==0.3.3
scikit-learn==1.6.0
scipy==1.14.1
setuptools==75.6.0
six==1.17.0
threadpoolctl==3.5.0
types-cffi==1.16.0.20241221
types-pyOpenSSL==24.1.0.20240722
types-redis==4.6.0.20241004
types-setuptools==75.6.0.20241223
typing_extensions==4.12.2
tzdata==2024.2
vine==5.1.0
wcwidth==0.2.13
Werkzeug==3.0.1
Werkzeug==3.1.3

0 comments on commit 4fbe2c1

Please sign in to comment.