Skip to content

Commit

Permalink
Merge pull request #63 from Arslan-Siraj/main
Browse files Browse the repository at this point in the history
provide streamlit config file inside docker
  • Loading branch information
Arslan-Siraj authored Jun 3, 2024
2 parents 2cdafdc + bf4cb70 commit 703f46c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .streamlit/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
developmentMode = false

[server]
port = 8502
port = 8501 # should be same as configured in deployment repo

[theme]

Expand Down
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,8 @@ COPY src/ /app/src
COPY assets/ /app/assets
COPY example-data/ /app/example-data
COPY pages/ /app/pages
# For streamlit configuration
COPY .streamlit/config.toml /app/.streamlit/config.toml
COPY clean-up-workspaces.py /app/clean-up-workspaces.py

# add cron job to the crontab
Expand Down
4 changes: 2 additions & 2 deletions pages/4_πŸ“–_Windows_executable.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def fetch_markdown_content(url):

# window executable with embeddable python
with tabs[0]:
markdown_url = "https://raw.githubusercontent.com/Arslan-Siraj/streamlit-template/main/win_exe_with_embed_py.md"
markdown_url = "https://raw.githubusercontent.com/OpenMS/streamlit-template/main/win_exe_with_embed_py.md"

markdown_content = fetch_markdown_content(markdown_url)

Expand All @@ -66,7 +66,7 @@ def fetch_markdown_content(url):
# window executable with pyinstaller
with tabs[1]:
# URL of the Markdown document
markdown_url = "https://raw.githubusercontent.com/Arslan-Siraj/streamlit-template/main/win_exe_with_pyinstaller.md"
markdown_url = "https://raw.githubusercontent.com/OpenMS/streamlit-template/main/win_exe_with_pyinstaller.md"

markdown_content = fetch_markdown_content(markdown_url)

Expand Down

0 comments on commit 703f46c

Please sign in to comment.