Skip to content

Commit

Permalink
Merge pull request #344 from compute-tooling/unbuffer-model-dockerfile
Browse files Browse the repository at this point in the history
Set PYTHONUNBUFFERED to 1 so that Python doesn't buffer logs
  • Loading branch information
hdoupe authored Sep 24, 2020
2 parents 06e6f58 + 6877ab8 commit 84bc059
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion workers/cs_workers/dockerfiles/Dockerfile.model
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ FROM continuumio/miniconda3
USER root
RUN apt-get update && apt install libgl1-mesa-glx --yes

ENV PYTHONUNBUFFERED 1

RUN conda config --append channels conda-forge
RUN conda update conda
RUN conda install "python>=3.7" pip tornado dask lz4 && pip install boto3 gunicorn
Expand Down Expand Up @@ -37,4 +39,4 @@ WORKDIR /home

EXPOSE 8010
ENV PORT=8010
ENV HOST=0.0.0.0
ENV HOST=0.0.0.0

0 comments on commit 84bc059

Please sign in to comment.