From 76f58c9a602c651c853500cd125673ac25e12cd5 Mon Sep 17 00:00:00 2001 From: deng Date: Thu, 27 Nov 2025 22:46:06 +0800 Subject: [PATCH] deploy to local NAS --- Dockerfile | 4 ++-- README.md | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index fa58168..e8c5c4e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -43,8 +43,8 @@ USER nonroot # Run the Streamlit application by default ENV TZ="Asia/Taipei" -EXPOSE 8504 -CMD ["python", "-m", "streamlit", "run", "app.py", "--server.port=8504", "--server.enableCORS=false", "--server.enableXsrfProtection=false"] +EXPOSE 8800 +CMD ["python", "-m", "streamlit", "run", "app.py", "--server.port=8800", "--server.enableCORS=false", "--server.enableXsrfProtection=false"] # Build # docker build --platform=linux/amd64 -t hiking_assistant:latest . diff --git a/README.md b/README.md index 7c66702..ba25dfc 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,8 @@ ## Abstract 一個基於 Python + Streamlit 的網頁應用程式,讀取使用者上傳的 GPX 檔案並提供詳細的路線統計、互動式地圖、海拔分析圖及天氣預報等。 +[臺灣登山小幫手](https://hikingassistant.guineapig.love) + ## Requirements * Hardware * MacbookPro14 2021