rakuten / src /fastapi_oauth /Dockerfile.oauth
Demosthene-OR's picture
Configure LFS for images and update code
eb5ec73
raw
history blame contribute delete
378 Bytes
FROM python:3.10.14-slim
# Installation de curl
RUN apt-get update && apt-get install -y curl
WORKDIR /app
# 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
CMD ["uvicorn", "fastapi_oauth:app", "--host", "0.0.0.0", "--port", "8001"]