fix: Docker build issues and uvicorn command
- Add README.md to Dockerfile COPY to satisfy hatchling build requirement - Fix uvicorn command in backend/README.md (use python -m uvicorn) - Update uv.lock with correct Python version constraint
This commit is contained in:
@@ -13,8 +13,8 @@ RUN pip install uv
|
||||
# Créer répertoire de travail
|
||||
WORKDIR /app
|
||||
|
||||
# Copier les fichiers de dépendances
|
||||
COPY pyproject.toml uv.lock ./
|
||||
# Copier les fichiers de dépendances ET le README (requis par hatchling)
|
||||
COPY pyproject.toml uv.lock README.md ./
|
||||
|
||||
# Installer les dépendances
|
||||
RUN uv sync --frozen
|
||||
|
||||
Reference in New Issue
Block a user