Sales_forecasting_api / Dockerfile
Bakalo's picture
Upload folder using huggingface_hub
4bb0692 verified
Raw History Blame Contribute Delete
320 Bytes
#Base image
FROM python:3.11
WORKDIR /app
COPY requirements.txt .
RUN pip install -r requirements.txt
COPY . . # Copies contents of the uploaded folder (backend_files) to /app
EXPOSE 7860
CMD ["python", "-m", "gunicorn", "--bind", "0.0.0.0:7860", "app:Sales_forecasting_api"] # Corrected: app.py is now directly in /app