Spaces:
Sleeping
Sleeping
Download Dockerfile from AntOG96/getaround-api: direct link, hf CLI and curl.
- Browser
- Download file 404 Bytes
-
https://huggingface.co/spaces/AntOG96/getaround-api/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/AntOG96/getaround-api/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/AntOG96/getaround-api/resolve/main/Dockerfile
404 Bytes
| FROM python:3.9-slim-bullseye | |
| WORKDIR /home/app | |
| RUN apt-get update -y | |
| RUN apt-get install nano unzip | |
| RUN apt install curl -y | |
| RUN curl -fsSL https://get.deta.dev/cli.sh | sh | |
| COPY requirements.txt /dependencies/requirements.txt | |
| RUN pip install -r /dependencies/requirements.txt | |
| COPY . /home/app | |
| ENV PORT 7860 | |
| CMD gunicorn app:app --bind 0.0.0.0:$PORT --worker-class uvicorn.workers.UvicornWorker | |