rework of patch for streamlit to display my favicon and title when paste url in messengers with preload-function
This commit is contained in:
@@ -15,7 +15,13 @@ RUN pip install --no-cache-dir -r requirements.txt
|
||||
|
||||
COPY ./app /app
|
||||
|
||||
COPY ./patch-streamlit/* /usr/local/lib/python3.13/site-packages/streamlit/static/
|
||||
# ein bisschen Patchen um auch beim Bookmarken oder Versenden der Webadresse per Messenger den richtigen Titel und das
|
||||
# richtige Favicon zu verwenden/sehen
|
||||
COPY ./app/images/favicon.ico /usr/local/lib/python3.13/site-packages/streamlit/static/favicon.ico
|
||||
RUN sed -i -e 's|favicon\.png|favicon.ico|' \
|
||||
-e 's|<title>.*</title>|<title>tebarius Mysteryhelfer (web)</title>|' \
|
||||
/usr/local/lib/python3.13/site-packages/streamlit/static/index.html
|
||||
|
||||
|
||||
EXPOSE 8501
|
||||
|
||||
|
||||
Reference in New Issue
Block a user