-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
6 changed files
with
57 additions
and
10 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
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,28 @@ | ||
FROM ubuntu:20.04 | ||
|
||
ARG DEBIAN_FRONTEND=noninteractive | ||
|
||
RUN apt-get update | ||
|
||
RUN apt-get -qy install git | ||
RUN apt-get -qy install openjdk-11-jdk-headless | ||
RUN apt-get -qy install build-essential | ||
RUN apt-get -qy install python3 python3-pip | ||
|
||
WORKDIR /home/biomedicus3 | ||
|
||
RUN pip3 install --upgrade pip | ||
RUN python3 -m pip install --upgrade setuptools | ||
|
||
COPY . biomedicus3 | ||
|
||
RUN pip3 install ./biomedicus3 | ||
RUN biomedicus download-data --with-stanza | ||
|
||
COPY ./python/biomedicus/deployment/biomedicus_deploy_config.yml . | ||
COPY ./python/biomedicus/pipeline/biomedicus_default_pipeline.yml . | ||
COPY ./tools/docker/biomedicus.sh . | ||
|
||
RUN chmod +x biomedicus.sh | ||
|
||
ENTRYPOINT ./biomedicus.sh |
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
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,6 @@ | ||
#!/usr/bin/env bash | ||
|
||
exec 3< <(biomedicus deploy --config biomedicus_deploy_config.yml) | ||
sed '/Done deploying all servers.$/q' <&3 ; cat <&3 & | ||
|
||
biomedicus run /input --watch -o /output --config biomedicus_default_pipeline.yml |