deploy to local NAS
This commit is contained in:
@ -43,8 +43,8 @@ USER nonroot
|
|||||||
|
|
||||||
# Run the Streamlit application by default
|
# Run the Streamlit application by default
|
||||||
ENV TZ="Asia/Taipei"
|
ENV TZ="Asia/Taipei"
|
||||||
EXPOSE 8504
|
EXPOSE 8800
|
||||||
CMD ["python", "-m", "streamlit", "run", "app.py", "--server.port=8504", "--server.enableCORS=false", "--server.enableXsrfProtection=false"]
|
CMD ["python", "-m", "streamlit", "run", "app.py", "--server.port=8800", "--server.enableCORS=false", "--server.enableXsrfProtection=false"]
|
||||||
|
|
||||||
# Build
|
# Build
|
||||||
# docker build --platform=linux/amd64 -t hiking_assistant:latest .
|
# docker build --platform=linux/amd64 -t hiking_assistant:latest .
|
||||||
|
|||||||
@ -1,6 +1,8 @@
|
|||||||
## Abstract
|
## Abstract
|
||||||
一個基於 Python + Streamlit 的網頁應用程式,讀取使用者上傳的 GPX 檔案並提供詳細的路線統計、互動式地圖、海拔分析圖及天氣預報等。
|
一個基於 Python + Streamlit 的網頁應用程式,讀取使用者上傳的 GPX 檔案並提供詳細的路線統計、互動式地圖、海拔分析圖及天氣預報等。
|
||||||
|
|
||||||
|
[臺灣登山小幫手](https://hikingassistant.guineapig.love)
|
||||||
|
|
||||||
## Requirements
|
## Requirements
|
||||||
* Hardware
|
* Hardware
|
||||||
* MacbookPro14 2021
|
* MacbookPro14 2021
|
||||||
|
|||||||
Reference in New Issue
Block a user