From 89de7ab364ba067858a680bda8f2807843e76a40 Mon Sep 17 00:00:00 2001 From: sebastianserfling Date: Thu, 29 Aug 2024 09:57:15 +0200 Subject: [PATCH 1/4] requirements.txt add --- requirements.txt | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 requirements.txt diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..1f0771a --- /dev/null +++ b/requirements.txt @@ -0,0 +1,5 @@ +mysql-connector-python~=9.0.0 +python-dotenv~=1.0.1 +python-dateutil~=2.9.0.post0 +streamlit~=1.37.1 +pandas~=2.2.2 \ No newline at end of file From ab5965cb1339f2619265abadfd68ad06c69850f9 Mon Sep 17 00:00:00 2001 From: sebastianserfling Date: Thu, 29 Aug 2024 10:03:02 +0200 Subject: [PATCH 2/4] Fixed app.py --- dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dockerfile b/dockerfile index 91a76fc..c808f07 100644 --- a/dockerfile +++ b/dockerfile @@ -18,4 +18,4 @@ EXPOSE 8501 HEALTHCHECK CMD curl --fail http://localhost:8501/_stcore/health -ENTRYPOINT ["streamlit", "run", "pp.py", "--server.port=8501", "--server.address=0.0.0.0"] \ No newline at end of file +ENTRYPOINT ["streamlit", "run", "app.py", "--server.port=8501", "--server.address=0.0.0.0"] \ No newline at end of file From b6093780a46b76d20b1a18feed06e295ef885f53 Mon Sep 17 00:00:00 2001 From: sebastianserfling Date: Thu, 29 Aug 2024 10:11:10 +0200 Subject: [PATCH 3/4] Change EXPORT PORT 80 --- dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dockerfile b/dockerfile index c808f07..d1b5ab0 100644 --- a/dockerfile +++ b/dockerfile @@ -14,7 +14,7 @@ RUN git clone https://gitlab.stines.de/sebastian.serfling/Reports-Visual.git . RUN pip3 install -r requirements.txt -EXPOSE 8501 +EXPOSE 80 HEALTHCHECK CMD curl --fail http://localhost:8501/_stcore/health From 379998a4592171eb67bc556a14ce50efc5fcfaed Mon Sep 17 00:00:00 2001 From: sebastianserfling Date: Thu, 29 Aug 2024 10:14:17 +0200 Subject: [PATCH 4/4] Change EXPORT PORT 80 --- dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dockerfile b/dockerfile index d1b5ab0..e93c366 100644 --- a/dockerfile +++ b/dockerfile @@ -18,4 +18,4 @@ EXPOSE 80 HEALTHCHECK CMD curl --fail http://localhost:8501/_stcore/health -ENTRYPOINT ["streamlit", "run", "app.py", "--server.port=8501", "--server.address=0.0.0.0"] \ No newline at end of file +ENTRYPOINT ["streamlit", "run", "app.py", "--server.port=80", "--server.address=0.0.0.0"] \ No newline at end of file