Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +3 -1
Dockerfile
CHANGED
@@ -7,9 +7,11 @@ WORKDIR /app
|
|
7 |
# Copy the API files to the container
|
8 |
COPY . /app
|
9 |
|
|
|
|
|
|
|
10 |
# Install dependencies
|
11 |
RUN pip install --no-cache-dir fastapi pydantic uvicorn scikit-learn joblib pandas numpy
|
12 |
-
RUN pip install scikit-learn==1.1.3
|
13 |
|
14 |
# Expose the API port
|
15 |
EXPOSE 8080
|
|
|
7 |
# Copy the API files to the container
|
8 |
COPY . /app
|
9 |
|
10 |
+
# Upgrade pip
|
11 |
+
RUN /usr/local/bin/python -m pip install --upgrade pip
|
12 |
+
|
13 |
# Install dependencies
|
14 |
RUN pip install --no-cache-dir fastapi pydantic uvicorn scikit-learn joblib pandas numpy
|
|
|
15 |
|
16 |
# Expose the API port
|
17 |
EXPOSE 8080
|