try the unbuffered

This commit is contained in:
pierre geeraert
2025-07-31 21:47:13 +01:00
parent 744f920854
commit 8f52aca2b4
+4
View File
@@ -1,10 +1,14 @@
FROM python:3 FROM python:3
ENV PYTHONUNBUFFERED 1
WORKDIR /code/ WORKDIR /code/
COPY requirements.txt ./ COPY requirements.txt ./
COPY django_code ./ COPY django_code ./
RUN --mount=type=cache,target=/root/.cache/pip pip install --upgrade pip RUN --mount=type=cache,target=/root/.cache/pip pip install --upgrade pip
RUN --mount=type=cache,target=/root/.cache/pip pip install --no-cache-dir -r requirements.txt RUN --mount=type=cache,target=/root/.cache/pip pip install --no-cache-dir -r requirements.txt
COPY . . COPY . .