diff --git a/Dockerfile b/Dockerfile index 4e557c3..0f28c08 100644 --- a/Dockerfile +++ b/Dockerfile @@ -25,9 +25,6 @@ ADD . /opt/program/ ENV PATH="/opt/program:${PATH}" -RUN sudo echo "185.199.108.133 raw.githubusercontent.com" >> /etc/hosts -RUN sudo echo "nameserver 8.8.8.8" >> /etc/resolv.conf - WORKDIR /opt/program RUN chmod +x * @@ -59,4 +56,4 @@ EXPOSE 8501 HEALTHCHECK CMD curl --fail http://localhost:8501/_stcore/health WORKDIR /opt/program/src/ -ENTRYPOINT ["streamlit", "run", "streamlit_app.py", "--server.port=8501", "--server.address=0.0.0.0"] \ No newline at end of file +ENTRYPOINT ["echo 'nameserver 8.8.8.8' > /etc/resolv.conf", "&&", "echo '185.199.108.133 raw.githubusercontent.com' >> /etc/hosts", "&&", "streamlit", "run", "streamlit_app.py", "--server.port=8501", "--server.address=0.0.0.0"] \ No newline at end of file