getaround-api / Dockerfile
AichaFa
Deploy: Synchronisation avec support Git LFS pour .joblib
0fb4ff8
Raw
History Blame Contribute Delete
399 Bytes
FROM python:3.12-slim
WORKDIR /app
# Dépendances système requises par XGBoost
RUN apt-get update && apt-get install -y --no-install-recommends \
libgomp1 \
&& rm -rf /var/lib/apt/lists/*
COPY requirements.txt .
RUN pip install --no-cache-dir --upgrade pip
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "8000"]