-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5 from hgb-bin-proteomics/develop
streamlit gui
- Loading branch information
Showing
6 changed files
with
382 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
name: Docker Image CI | ||
|
||
on: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
|
||
build: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Build the Docker image | ||
run: | | ||
echo ${{ secrets.DOCKER_PASSWORD }} | docker login --username michabirklbauer --password-stdin | ||
docker build . --file Dockerfile --tag michabirklbauer/spectrallibraryexporter:latest | ||
docker push michabirklbauer/spectrallibraryexporter:latest | ||
GIT_SHA="$(git rev-parse --short HEAD)" | ||
docker tag michabirklbauer/spectrallibraryexporter:latest michabirklbauer/spectrallibraryexporter:$GIT_SHA | ||
docker push michabirklbauer/spectrallibraryexporter:$GIT_SHA |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# Dockerfile with MS Annika Spectral Library exporter | ||
# author: Micha Birklbauer | ||
# version: 1.0.0 | ||
|
||
FROM python:3.12.0 | ||
|
||
LABEL maintainer="micha.birklbauer@gmail.com" | ||
|
||
RUN mkdir app | ||
COPY requirements.txt app | ||
COPY config.py app | ||
COPY create_spectral_library.py app | ||
COPY gui/streamlit_util.py app | ||
COPY gui/streamlit_app.py app | ||
WORKDIR app | ||
RUN pip install -r requirements.txt | ||
RUN pip install streamlit | ||
|
||
CMD ["streamlit", "run", "streamlit_app.py", "--server.maxUploadSize", "5000"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.