deploy to local NAS

This commit is contained in:
deng
2025-11-27 22:46:06 +08:00
parent 1c0e72f0e1
commit 76f58c9a60
2 changed files with 4 additions and 2 deletions

View File

@ -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 .

View File

@ -1,6 +1,8 @@
## Abstract
一個基於 Python + Streamlit 的網頁應用程式,讀取使用者上傳的 GPX 檔案並提供詳細的路線統計、互動式地圖、海拔分析圖及天氣預報等。
[臺灣登山小幫手](https://hikingassistant.guineapig.love)
## Requirements
* Hardware
* MacbookPro14 2021