Spaces:
Runtime error
Runtime error
Download Dockerfile from Roboproch/MLOps_project: direct link, hf CLI and curl.
- Browser
- Download file 337 Bytes
-
https://huggingface.co/spaces/Roboproch/MLOps_project/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Roboproch/MLOps_project/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Roboproch/MLOps_project/resolve/main/Dockerfile
337 Bytes
| #dockerfile | |
| # Versione di Python | |
| FROM python:3.12-slim | |
| # Set della working directory | |
| WORKDIR /app | |
| RUN ls | |
| # Copia il file dei requisiti | |
| COPY requirements.txt . | |
| # Installa le dipendenze | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # Copia della directory in /app | |
| COPY . /app | |
| # Run dello script Python | |
| CMD ["python", "app.py"] |