Spaces:
Runtime error
Runtime error
Download Dockerfile from Varun6299/MediAssist_RAG_ChatBot_backend: direct link, hf CLI and curl.
- Browser
- Download file 429 Bytes
-
https://huggingface.co/spaces/Varun6299/MediAssist_RAG_ChatBot_backend/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Varun6299/MediAssist_RAG_ChatBot_backend/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Varun6299/MediAssist_RAG_ChatBot_backend/resolve/main/Dockerfile
429 Bytes
| # Use a lightweight Python image as the base | |
| FROM python:3.9-slim | |
| # Set the working directory | |
| WORKDIR /app | |
| # Copy all files from the current directory on the host to the container's /app directory | |
| COPY . . | |
| # Install Python dependencies listed in requirements.txt | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # Command to run the application using Gunicorn | |
| CMD ["gunicorn", "-w", "4", "-b", "0.0.0.0:7860", "app:app"] | |