Spaces:
Paused
Paused
Download Dockerfile from ToastFlix/Toast-Translator: direct link, hf CLI and curl.
- Browser
- Download file 364 Bytes
-
https://huggingface.co/spaces/ToastFlix/Toast-Translator/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/ToastFlix/Toast-Translator/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/ToastFlix/Toast-Translator/resolve/main/Dockerfile
364 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 -b Test https://github.com/DiogoMiguel93/Catalog-Translator.git /app | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8080", "--workers", "2"] | |