From 0429ace2a7ef81bf004aabc84af46aab7a665ac6 Mon Sep 17 00:00:00 2001 From: Stan Soldatov <118521851+iwatkot@users.noreply.github.com> Date: Fri, 31 Jan 2025 19:18:28 +0100 Subject: [PATCH] Update index html --- Dockerfile | 8 ++++++- Dockerfile_lite | 2 +- index.html | 60 ------------------------------------------------- 3 files changed, 8 insertions(+), 62 deletions(-) delete mode 100644 index.html diff --git a/Dockerfile b/Dockerfile index f5a6a5c..fc9eda9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -74,7 +74,13 @@ RUN pip install -r requirements.txt RUN pip install --upgrade maps4fs COPY favicon.png /usr/local/lib/python3.11/site-packages/streamlit/static/favicon.png -COPY index.html /usr/local/lib/python3.11/site-packages/streamlit/static/index.html + +# 1. Find the index.html file in the streamlit package. +# 2. Replace the contents with the following: +# Generate map tempates for Farming Simulator from real places in a couple +# of clicks. Get the realistic terrain, roads, rivers, fields, and more. +# Completely free and open-source. +RUN sed -i 's|||' /usr/local/lib/python3.11/site-packages/streamlit/static/index.html EXPOSE 8501 diff --git a/Dockerfile_lite b/Dockerfile_lite index 1123954..0ad2475 100644 --- a/Dockerfile_lite +++ b/Dockerfile_lite @@ -19,7 +19,7 @@ RUN pip install -r requirements.txt RUN pip install --upgrade maps4fs COPY favicon.png /usr/local/lib/python3.11/site-packages/streamlit/static/favicon.png -COPY index.html /usr/local/lib/python3.11/site-packages/streamlit/static/index.html +RUN sed -i 's|||' /usr/local/lib/python3.11/site-packages/streamlit/static/index.html EXPOSE 8501 diff --git a/index.html b/index.html deleted file mode 100644 index 22d4c30..0000000 --- a/index.html +++ /dev/null @@ -1,60 +0,0 @@ - - - - - - - - - - - - - - maps4FS - - - - - - -
- -