diff --git a/Dockerfile.python b/Dockerfile.python
index ebcc7d779129bb0878a5234cd1bc82127e416034..b1bbf2fdd12d308cb4b38ff70f40d1b1252cd7c1 100644
--- a/Dockerfile.python
+++ b/Dockerfile.python
@@ -3,6 +3,7 @@ FROM ${DOCKER_HUB_MIRROR}python:${PYTHON_VERSION}
 # define geographic location during installation
 ENV TZ=Etc/UTC
 ENV DEBIAN_FRONTEND=noninteractive
+ENV SHINY_LOG_STDERR=1
 
 EXPOSE 3838
 CMD ["shiny-server"]