Spaces:
Paused
Paused
Download src/flows/Dockerfile.flows from Demosthene-OR/rakuten: direct link, hf CLI and curl.
- Browser
- Download file 417 Bytes
-
https://huggingface.co/spaces/Demosthene-OR/rakuten/resolve/main/src/flows/Dockerfile.flows
- Command line
-
hf download hf://spaces/Demosthene-OR/rakuten/src/flows/Dockerfile.flows
-
curl -L -o Dockerfile.flows https://huggingface.co/spaces/Demosthene-OR/rakuten/resolve/main/src/flows/Dockerfile.flows
417 Bytes
| FROM python:3.10.14-slim | |
| # Installation de curl | |
| RUN apt-get update && apt-get install -y curl | |
| RUN mkdir -p /app/src | |
| WORKDIR /app/src | |
| # Copie du fichier requirements.txt séparément pour éviter de recopier tout le contenu si les dépendances n'ont pas changé | |
| COPY . . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| WORKDIR /app | |
| CMD ["uvicorn", "src.flows_API:app", "--host", "0.0.0.0", "--port", "8003"] | |