Spaces:
Configuration error
Configuration error
Upload folder using huggingface_hub
Browse files- backend_files/Dockerfile +2 -2
backend_files/Dockerfile
CHANGED
|
@@ -3,6 +3,6 @@ FROM python:3.11
|
|
| 3 |
WORKDIR /app
|
| 4 |
COPY requirements.txt .
|
| 5 |
RUN pip install -r requirements.txt
|
| 6 |
-
COPY . .
|
| 7 |
EXPOSE 7860
|
| 8 |
-
CMD ["python", "-m", "gunicorn", "--bind", "0.0.0.0:7860", "
|
|
|
|
| 3 |
WORKDIR /app
|
| 4 |
COPY requirements.txt .
|
| 5 |
RUN pip install -r requirements.txt
|
| 6 |
+
COPY . . # Copies contents of the uploaded folder (backend_files) to /app
|
| 7 |
EXPOSE 7860
|
| 8 |
+
CMD ["python", "-m", "gunicorn", "--bind", "0.0.0.0:7860", "app:Sales_forecasting_api"] # Corrected: app.py is now directly in /app
|