Spaces:
Runtime error
Runtime error
Download Dockerfile from BeveledCube/bevelapi: direct link, hf CLI and curl.
- Browser
- Download file 242 Bytes
-
https://huggingface.co/spaces/BeveledCube/bevelapi/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/BeveledCube/bevelapi/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/BeveledCube/bevelapi/resolve/main/Dockerfile
242 Bytes
| FROM python:3.11 | |
| WORKDIR /api | |
| COPY --chown=user ./ /api/ | |
| RUN pip install --upgrade pip | |
| RUN pip install -r requirements.txt | |
| RUN mkdir /api/cache | |
| RUN chmod a+rwx /api/cache | |
| RUN chmod a+rwx /api/models | |
| EXPOSE 7860 | |
| CMD ["python", "main.py"] |