Spaces:
Sleeping
Sleeping
Download Dockerfile from glucky1985/business2API: direct link, hf CLI and curl.
- Browser
- Download file 344 Bytes
-
https://huggingface.co/spaces/glucky1985/business2API/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/glucky1985/business2API/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/glucky1985/business2API/resolve/main/Dockerfile
344 Bytes
| FROM python:3.11-slim | |
| WORKDIR /app | |
| COPY requirements.txt . | |
| RUN apt-get update && apt-get install -y --no-install-recommends \ | |
| gcc \ | |
| && pip install --no-cache-dir -r requirements.txt \ | |
| && apt-get purge -y gcc \ | |
| && apt-get autoremove -y \ | |
| && rm -rf /var/lib/apt/lists/* | |
| COPY main.py . | |
| CMD ["python", "-u", "main.py"] |