Download Dockerfile from ToastFlix/Toast-Translator-Public: direct link, hf CLI and curl.
- Browser
- Download file 297 Bytes
-
https://huggingface.co/spaces/ToastFlix/Toast-Translator-Public/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/ToastFlix/Toast-Translator-Public/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/ToastFlix/Toast-Translator-Public/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"] | |