Spaces:
Runtime error
Runtime error
Download dockerfile.dockerfile from abdelac/Mistral_Test: direct link, hf CLI and curl.
- Browser
- Download file 390 Bytes
-
https://huggingface.co/spaces/abdelac/Mistral_Test/resolve/main/dockerfile.dockerfile
- Command line
-
hf download hf://spaces/abdelac/Mistral_Test/dockerfile.dockerfile
-
curl -L -o dockerfile.dockerfile https://huggingface.co/spaces/abdelac/Mistral_Test/resolve/main/dockerfile.dockerfile
390 Bytes
| FROM python:3.9-slim | |
| WORKDIR /app | |
| # Install system dependencies | |
| RUN apt-get update && apt-get install -y \ | |
| build-essential \ | |
| && rm -rf /var/lib/apt/lists/* | |
| # Copy requirements first for better caching | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # Copy the rest of the app | |
| COPY . . | |
| # Expose port | |
| EXPOSE 7860 | |
| # Run the app | |
| CMD ["python", "app.py"] |