Bakalo commited on
Commit
f779ffe
·
verified ·
1 Parent(s): bc1f9f3

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. 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", "backend_files.app:Sales_forecasting_api"]
 
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