Spaces:
Runtime error
Runtime error
Download Dockerfile from Sparkles-AI/CardTagger: direct link, hf CLI and curl.
- Browser
- Download file 415 Bytes
-
https://huggingface.co/spaces/Sparkles-AI/CardTagger/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Sparkles-AI/CardTagger/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Sparkles-AI/CardTagger/resolve/main/Dockerfile
415 Bytes
| #FROM nvidia/cuda:11.0.3-base-ubuntu18.04 | |
| #FROM python:3.7.2-stretch | |
| FROM fastdotai/fastai:latest | |
| RUN apt-get update -y && \ | |
| apt-get install -y python3-pip python-dev | |
| #RUN mkdir /app | |
| WORKDIR /code | |
| COPY ./requirements.txt /code/requirements.txt | |
| RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt | |
| COPY . . | |
| CMD ["uvicorn", "server:app", "--reload", "--host", "0.0.0.0", "--port", "7860"] | |