Explorar o código

Try another address for portainer

ricet8ur %!s(int64=2) %!d(string=hai) anos
pai
achega
8c3607d5f7
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      Dockerfile

+ 2 - 2
Dockerfile

@@ -5,6 +5,6 @@ RUN pip install -r requirements.txt
 EXPOSE 8501
 COPY . /app
 ENTRYPOINT ["streamlit", "run"]
-CMD ["./source/main.py"]
+CMD ["./source/main.py", "--browser.serverAddress=\"0.0.0.0\""]
 # docker build -t calc-q-factor:latest .
-# docker run -p 8501:8501 calc-q-factor:latest
+# docker run -p 8501:8501 calc-q-factor:latest