Download Dockerfile from Neon-tech/Tok-cor: direct link, hf CLI and curl.
- Browser
- Download file 279 Bytes
-
https://huggingface.co/spaces/Neon-tech/Tok-cor/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Neon-tech/Tok-cor/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Neon-tech/Tok-cor/resolve/main/Dockerfile
279 Bytes
| FROM python:3.11-slim | |
| RUN apt-get update && apt-get install -y wget && rm -rf /var/lib/apt/lists/* | |
| WORKDIR /app | |
| RUN pip install --no-cache-dir \ | |
| tokenizers \ | |
| pandas \ | |
| pyarrow \ | |
| huggingface_hub \ | |
| requests | |
| COPY app.py . | |
| EXPOSE 7860 | |
| CMD ["python", "app.py"] |