Skip to content

Commit

Permalink
Add PYTHONBUFFERED=1 to Dockerfile.{cpu,gpu}
Browse files Browse the repository at this point in the history
  • Loading branch information
alvarobartt committed Mar 6, 2024
1 parent 6095bbd commit 0e0cf1a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ LABEL maintainer="Alvaro Bartolome"

ARG DEBIAN_FRONTEND=noninteractive
ENV PYTHONDONTWRITEBYTECODE=1
ENV PYTHONBUFFERED=1

RUN mkdir -m 777 -p /usr/app /home
WORKDIR /usr/app
Expand All @@ -30,4 +31,3 @@ ENV PREDICTOR_CLASS=TransformersPredictor

EXPOSE 8080
ENTRYPOINT ["python", "-m", "google.cloud.aiplatform.prediction.model_server"]

Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ LABEL maintainer="Alvaro Bartolome"

ARG DEBIAN_FRONTEND=noninteractive
ENV PYTHONDONTWRITEBYTECODE=1
ENV PYTHONBUFFERED=1

RUN mkdir -m 777 -p /usr/app /home
WORKDIR /usr/app
Expand Down

0 comments on commit 0e0cf1a

Please sign in to comment.