fix: add debug output for requirements installation in Dockerfile

This commit is contained in:
Mabe
2026-06-20 23:28:01 +02:00
parent 572c199f87
commit 653b82d611
+3 -1
View File
@@ -1,6 +1,8 @@
FROM python:3.12-slim
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# debug: show requirements contents during build to ensure correct file is copied
RUN echo "--- requirements.txt ---" && cat requirements.txt && echo "--- pip install start ---" \
&& pip install --no-cache-dir -r requirements.txt
COPY app ./app
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8000"]