Spaces:
Sleeping
Sleeping
Upload Dockerfile with huggingface_hub
Browse files- Dockerfile +4 -5
Dockerfile
CHANGED
@@ -8,12 +8,11 @@ RUN apt-get update && \
|
|
8 |
apt-get clean && \
|
9 |
rm -rf /var/lib/apt/lists/*
|
10 |
|
11 |
-
#
|
12 |
-
COPY requirements-spaces.txt .
|
13 |
-
|
14 |
-
# Install Python dependencies
|
15 |
RUN pip install --upgrade pip && \
|
16 |
-
pip install --no-cache-dir
|
|
|
|
|
17 |
|
18 |
# Copy the rest of the application
|
19 |
COPY . .
|
|
|
8 |
apt-get clean && \
|
9 |
rm -rf /var/lib/apt/lists/*
|
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
|
16 |
|
17 |
# Copy the rest of the application
|
18 |
COPY . .
|