Spaces:
Runtime error
Runtime error
Download Dockerfile from Toast0/Toast-Translator-Clone: direct link, hf CLI and curl.
- Browser
- Download file 297 Bytes
-
https://huggingface.co/spaces/Toast0/Toast-Translator-Clone/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Toast0/Toast-Translator-Clone/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Toast0/Toast-Translator-Clone/resolve/main/Dockerfile
297 Bytes
| FROM python:3.12-slim | |
| WORKDIR /app | |
| RUN apt-get update && \ | |
| apt-get install -y git && \ | |
| apt-get clean && rm -rf /var/lib/apt/lists/* | |
| RUN git clone https://github.com/DiogoMiguel93/Catalog-Translator.git /app | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| CMD ["python", "main.py"] | |