Spaces:
Sleeping
Sleeping
Download Dockerfile from pranit144/LiveTranslation: direct link, hf CLI and curl.
- Browser
- Download file 320 Bytes
-
https://huggingface.co/spaces/pranit144/LiveTranslation/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/pranit144/LiveTranslation/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/pranit144/LiveTranslation/resolve/main/Dockerfile
320 Bytes
| FROM python:3.9-slim | |
| WORKDIR /app | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| COPY . . | |
| # Create directory structure | |
| RUN mkdir -p static/images | |
| # Expose the port the app runs on | |
| EXPOSE 7860 | |
| # Command to run the app | |
| CMD ["gunicorn", "--bind", "0.0.0.0:7860", "app:app"] |