Download Dockerfile from Hansimov/embed-api: direct link, hf CLI and curl.
- Browser
- Download file 209 Bytes
-
https://huggingface.co/spaces/Hansimov/embed-api/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Hansimov/embed-api/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Hansimov/embed-api/resolve/main/Dockerfile
209 Bytes
| FROM python:3.11-slim | |
| WORKDIR $HOME/app | |
| COPY requirements.txt $HOME/app | |
| RUN mkdir /.cache && chmod 777 /.cache | |
| RUN pip install -r requirements.txt | |
| COPY . $HOME/app | |
| EXPOSE 16666 | |
| CMD ["python", "-m", "apps.app"] |