Spaces:
Paused
Paused
Download Dockerfile from newservers/test: direct link, hf CLI and curl.
- Browser
- Download file 394 Bytes
-
https://huggingface.co/spaces/newservers/test/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/newservers/test/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/newservers/test/resolve/main/Dockerfile
394 Bytes
| FROM python:3.10-slim | |
| RUN apt-get update && apt-get install -y git && rm -rf /var/lib/apt/lists/* | |
| WORKDIR /app | |
| COPY . . | |
| RUN pip install \ | |
| flask \ | |
| requests \ | |
| pandas \ | |
| scikit-learn \ | |
| torch \ | |
| transformers \ | |
| peft | |
| RUN chmod -R 777 /app | |
| RUN mkdir -p /app/cache && chmod -R 777 /app /app/cache | |
| ENV TRANSFORMERS_CACHE=/app/cache | |
| EXPOSE 7860 | |
| CMD ["python", "app.py"] |