Spaces:
Runtime error
Runtime error
Download Dockerfile from angeloqq/MARIEL_PROJECT: direct link, hf CLI and curl.
- Browser
- Download file 451 Bytes
-
https://huggingface.co/spaces/angeloqq/MARIEL_PROJECT/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/angeloqq/MARIEL_PROJECT/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/angeloqq/MARIEL_PROJECT/resolve/main/Dockerfile
451 Bytes
| FROM python:3.9-slim | |
| WORKDIR /app | |
| # Install dependencies | |
| RUN apt-get update && apt-get install -y \ | |
| libgl1-mesa-glx \ | |
| && rm -rf /var/lib/apt/lists/* | |
| COPY requirements.txt requirements.txt | |
| RUN pip install -r requirements.txt | |
| COPY . . | |
| # Set environment variables | |
| ENV TRANSFORMERS_CACHE=/app/cache | |
| ENV MPLCONFIGDIR=/app/matplotlib | |
| # Create necessary directories | |
| RUN mkdir -p /app/cache /app/matplotlib | |
| EXPOSE 5000 | |
| CMD ["python", "app.py"] |