kopia lustrzana https://dev.funkwhale.audio/funkwhale/funkwhale
feat: don't buffer stdout/err in docker
This makes sure we don't loose any logs that might have been buffered and haven't been written to the docker logs.environments/review-docs-docs-p5xm4f/deployments/16617
rodzic
44904d80be
commit
85d4bd60d9
|
@ -13,6 +13,7 @@ RUN poetry export --with dev --without-hashes > dev-requirements.txt
|
|||
FROM alpine:3.17 as builder
|
||||
|
||||
ENV PYTHONDONTWRITEBYTECODE=1
|
||||
ENV PYTHONUNBUFFERED=1
|
||||
|
||||
RUN \
|
||||
echo 'installing dependencies' && \
|
||||
|
@ -73,6 +74,7 @@ RUN \
|
|||
FROM alpine:3.17 as image
|
||||
|
||||
ENV PYTHONDONTWRITEBYTECODE=1
|
||||
ENV PYTHONUNBUFFERED=1
|
||||
|
||||
COPY --from=builder /venv /venv
|
||||
# emulate activation by prefixing PATH
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
Don't buffer python stdout/err in docker
|
Ładowanie…
Reference in New Issue