Download Dockerfile from reidddd/test: direct link, hf CLI and curl.
- Browser
- Download file 278 Bytes
-
https://huggingface.co/spaces/reidddd/test/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/reidddd/test/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/reidddd/test/resolve/main/Dockerfile
278 Bytes
| FROM python:3.11-slim-buster | |
| WORKDIR /app | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| RUN pip install torch --index-url https://download.pytorch.org/whl/cpu | |
| # COPY model /app/model | |
| COPY . . | |
| EXPOSE 5000 | |
| CMD [ "python", "classifier_api.py" ] |