deploy to local NAS
This commit is contained in:
@ -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 .
|
||||
|
||||
Reference in New Issue
Block a user