fix: add debug output for requirements installation in Dockerfile
This commit is contained in:
+3
-1
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user