diff --git a/Containerfile b/Containerfile index b1d1981..ed8a983 100644 --- a/Containerfile +++ b/Containerfile @@ -30,9 +30,10 @@ COPY . . RUN pip install /usr/src/app -# Docker-specific configuration and default to IPv4 +# Docker-specific configuration +# defaulting to IPv4 is no longer necessary (default host is dual stack) ENV MALOJA_SKIP_SETUP=yes -ENV MALOJA_HOST=0.0.0.0 +ENV PYTHONUNBUFFERED=1 EXPOSE 42010 # use exec form for better signal handling https://docs.docker.com/engine/reference/builder/#entrypoint diff --git a/dev/templates/Containerfile.jinja b/dev/templates/Containerfile.jinja index 0eb8063..7a99f03 100644 --- a/dev/templates/Containerfile.jinja +++ b/dev/templates/Containerfile.jinja @@ -30,9 +30,10 @@ COPY . . RUN pip install /usr/src/app -# Docker-specific configuration and default to IPv4 +# Docker-specific configuration +# defaulting to IPv4 is no longer necessary (default host is dual stack) ENV MALOJA_SKIP_SETUP=yes -ENV MALOJA_HOST=0.0.0.0 +ENV PYTHONUNBUFFERED=1 EXPOSE 42010 # use exec form for better signal handling https://docs.docker.com/engine/reference/builder/#entrypoint