Spaces:
Sleeping
Sleeping
Upload folder using huggingface_hub
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
|
@@ -7,7 +7,7 @@ WORKDIR /app
|
|
| 7 |
COPY . .
|
| 8 |
|
| 9 |
# Install dependencies from the requirements file without using cache to reduce image size
|
| 10 |
-
RUN pip install --
|
| 11 |
|
| 12 |
# Define the command to start the application using Gunicorn with 4 worker processes
|
| 13 |
CMD ["gunicorn", "-w", "4", "-b", "0.0.0.0:7860", "app: sales_predictor_api"]
|
|
|
|
| 7 |
COPY . .
|
| 8 |
|
| 9 |
# Install dependencies from the requirements file without using cache to reduce image size
|
| 10 |
+
RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
| 11 |
|
| 12 |
# Define the command to start the application using Gunicorn with 4 worker processes
|
| 13 |
CMD ["gunicorn", "-w", "4", "-b", "0.0.0.0:7860", "app: sales_predictor_api"]
|