Spaces:
Sleeping
Sleeping
Download Dockerfile from Rivalcoder/pathway: direct link, hf CLI and curl.
- Browser
- Download file 379 Bytes
-
https://huggingface.co/spaces/Rivalcoder/pathway/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Rivalcoder/pathway/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Rivalcoder/pathway/resolve/main/Dockerfile
379 Bytes
| FROM python:3.10 | |
| # Create working directory and give write permissions | |
| WORKDIR /app | |
| RUN mkdir -p /app/mongo_exports && chmod 777 /app/mongo_exports | |
| # Copy files into container | |
| COPY requirements.txt requirements.txt | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| COPY . . | |
| # Expose the Hugging Face default port | |
| EXPOSE 7860 | |
| # Run your FastAPI app | |
| CMD ["python", "app.py"] | |