Pratik26Dec commited on
Commit
7c54938
·
verified ·
1 Parent(s): f7ea4d6

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -4
Dockerfile CHANGED
@@ -6,11 +6,8 @@ WORKDIR /app
6
  # Copy your app code and requirements
7
  COPY . /app
8
 
9
- # Upgrade pip and install pre-built wheels
10
  RUN pip install --upgrade pip setuptools wheel
11
-
12
- # Install dependencies with --prefer-binary to avoid build issues
13
- RUN pip install --prefer-binary numpy==1.24.3 scikit-learn==1.7.1 pandas==2.3.2 joblib==1.2.0 Flask==2.3.3 gunicorn==21.2.0
14
 
15
  # Expose port and run the app
16
  EXPOSE 5000
 
6
  # Copy your app code and requirements
7
  COPY . /app
8
 
 
9
  RUN pip install --upgrade pip setuptools wheel
10
+ RUN pip install --prefer-binary -r requirements.txt
 
 
11
 
12
  # Expose port and run the app
13
  EXPOSE 5000