Quantcast
Channel: Active questions tagged python - Stack Overflow
Viewing all articles
Browse latest Browse all 13951

Streamlit showing me "Welcome to Streamlit" message when executing it with Docker

$
0
0

I'm trying to run a Docker container created from this Dockerfile

FROM selenium/standalone-chromeWORKDIR /app# Install dependenciesUSER rootRUN apt-get update && apt-get install python3-distutils -yRUN wget https://bootstrap.pypa.io/get-pip.pyRUN python3 get-pip.pyCOPY requirements.txt ./requirements.txtRUN pip install -r requirements.txtRUN pip install selenium==4.1# Copy src contentsCOPY /src /app/# Expose the portEXPOSE 8501# ExecutionENTRYPOINT [ "streamlit", "run" ]CMD ["app.py"]

Building this container is possible, but when I execute the image, I obtain the following message:

👋 Welcome to Streamlit!  If you're one of our development partners or you're interested in getting  personal technical support or Streamlit updates, please enter your email  address below. Otherwise, you may leave the field blank.  Email: 2022-06-06 09:20:27.690 

And, therefore, I am not able to press enter and continue the execution, as the execution halts. Do you guys know how should I make my Dockerfile to directly execute the streamlit run command and surpass this problem?


Viewing all articles
Browse latest Browse all 13951

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>