Spaces:
Sleeping
Sleeping
Download Dockerfile from cheesecz/formality-classifier-arkav: direct link, hf CLI and curl.
- Browser
- Download file 228 Bytes
-
https://huggingface.co/spaces/cheesecz/formality-classifier-arkav/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/cheesecz/formality-classifier-arkav/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/cheesecz/formality-classifier-arkav/resolve/main/Dockerfile
228 Bytes
| FROM python:3.8 | |
| WORKDIR /app | |
| # Set writable cache directory | |
| ENV TRANSFORMERS_CACHE=/tmp | |
| COPY requirements.txt requirements.txt | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| COPY . . | |
| EXPOSE 7860 | |
| CMD ["python", "app.py"] |