Skip to content

Commit 3d6d768

Browse files
committed
build: add presets.json to Docker and Windows deployments
Include presets.json in all deployment configurations: - Dockerfile (full OpenMS build) - Dockerfile_simple (pyopenms-only build) - Windows PyInstaller workflow - Windows deployment documentation https://claude.ai/code/session_01BnipAqTf16J7kJVfnzah2U
1 parent fbcd852 commit 3d6d768

File tree

4 files changed

+5
-2
lines changed

4 files changed

+5
-2
lines changed

.github/workflows/test-win-exe-w-pyinstaller.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,13 +68,14 @@ jobs:
6868
6969
- name: Copy everything to dist directory
7070
shell: bash
71-
run: |
71+
run: |
7272
cp -r .streamlit dist/.streamlit
7373
cp -r content dist/content
7474
cp -r src dist/src
7575
cp -r example-data dist/example-data
7676
cp -r assets dist/assets
7777
cp app.py dist/
78+
cp presets.json dist/
7879
7980
- name: Modify .spec file
8081
shell: bash

Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,7 @@ COPY utils/ /app/utils
141141
COPY app.py /app/app.py
142142
COPY settings.json /app/settings.json
143143
COPY default-parameters.json /app/default-parameters.json
144+
COPY presets.json /app/presets.json
144145

145146
# For streamlit configuration
146147
COPY .streamlit/ /app/.streamlit/

Dockerfile_simple

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ COPY utils/ /app/utils
7474
COPY app.py /app/app.py
7575
COPY settings.json /app/settings.json
7676
COPY default-parameters.json /app/default-parameters.json
77+
COPY presets.json /app/presets.json
7778

7879
# For streamlit configuration
7980
COPY .streamlit/ /app/.streamlit/

docs/win_exe_with_pyinstaller.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ cp -r pages dist/pages
102102
cp -r src dist/src
103103
cp -r assets dist/assets
104104
cp app.py dist/
105-
105+
cp presets.json dist/
106106
```
107107

108108

0 commit comments

Comments
 (0)