Spaces:
Sleeping
Sleeping
Download apps/api/Dockerfile from quantumsquatan/Adala-ai: direct link, hf CLI and curl.
- Browser
- Download file 497 Bytes
-
https://huggingface.co/spaces/quantumsquatan/Adala-ai/resolve/main/apps/api/Dockerfile
- Command line
-
hf download hf://spaces/quantumsquatan/Adala-ai/apps/api/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/quantumsquatan/Adala-ai/resolve/main/apps/api/Dockerfile
497 Bytes
| FROM python:3.12-slim | |
| ENV PYTHONDONTWRITEBYTECODE=1 \ | |
| PYTHONUNBUFFERED=1 \ | |
| PIP_NO_CACHE_DIR=1 | |
| WORKDIR /app | |
| RUN apt-get update && apt-get install -y --no-install-recommends \ | |
| build-essential \ | |
| git \ | |
| && rm -rf /var/lib/apt/lists/* | |
| COPY apps/api/requirements.txt ./requirements.txt | |
| RUN pip install --upgrade pip && pip install -r requirements.txt | |
| COPY apps/api/app ./app | |
| EXPOSE 8000 | |
| CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8000"] | |