Spaces:
Sleeping
Sleeping
Download Dockerfile from superchatai/api: direct link, hf CLI and curl.
- Browser
- Download file 270 Bytes
-
https://huggingface.co/spaces/superchatai/api/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/superchatai/api/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/superchatai/api/resolve/main/Dockerfile
270 Bytes
| FROM ubuntu:22.04 | |
| RUN apt-get update && apt-get install -y \ | |
| python3 \ | |
| python3-pip \ | |
| && rm -rf /var/lib/apt/lists/* | |
| WORKDIR /app | |
| RUN pip3 install --no-cache-dir python-multipart flask flask-cors | |
| COPY app.py . | |
| EXPOSE 7860 | |
| CMD python3 app.py --port 7860 | |