jomasego commited on
Commit
254e4d7
·
verified ·
1 Parent(s): a80e2bd

Upload Dockerfile with huggingface_hub

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -0
Dockerfile CHANGED
@@ -10,6 +10,8 @@ RUN apt-get update && \
10
 
11
  # Install Python dependencies directly (bypassing requirements file)
12
  RUN pip install --upgrade pip && \
 
 
13
  pip install --no-cache-dir flask==2.0.1 requests==2.28.1 pandas==1.3.5 numpy==1.21.6 \
14
  scikit-learn==1.0.2 xgboost==1.5.2 matplotlib==3.5.3 tensorflow==2.8.0 \
15
  python-dotenv==0.19.0 gunicorn==20.1.0 huggingface_hub==0.19.4 tqdm==4.66.1 protobuf==3.20.0
 
10
 
11
  # Install Python dependencies directly (bypassing requirements file)
12
  RUN pip install --upgrade pip && \
13
+ # Install Werkzeug first to ensure correct version
14
+ pip install --no-cache-dir werkzeug==2.0.1 && \
15
  pip install --no-cache-dir flask==2.0.1 requests==2.28.1 pandas==1.3.5 numpy==1.21.6 \
16
  scikit-learn==1.0.2 xgboost==1.5.2 matplotlib==3.5.3 tensorflow==2.8.0 \
17
  python-dotenv==0.19.0 gunicorn==20.1.0 huggingface_hub==0.19.4 tqdm==4.66.1 protobuf==3.20.0