-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
aac9976
commit b39a4cd
Showing
12 changed files
with
26 additions
and
39 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 |
---|---|---|
|
@@ -8,6 +8,9 @@ LABEL org.opencontainers.image.title="bio-check-base" \ | |
org.opencontainers.image.authors="Alexander Patrie <[email protected]>, BioSimulators Team <[email protected]>" \ | ||
org.opencontainers.image.vendor="BioSimulators Team" | ||
|
||
# SHELL ["/bin/bash", "-c"] | ||
SHELL ["/usr/bin/env", "bash", "-c"] | ||
|
||
# shared env | ||
ENV DEBIAN_FRONTEND=noninteractive \ | ||
MONGO_URI="mongodb://mongodb/?retryWrites=true&w=majority&appName=bio-check" \ | ||
|
@@ -16,24 +19,26 @@ ENV DEBIAN_FRONTEND=noninteractive \ | |
|
||
# copy docker | ||
COPY assets/docker/config/.biosimulations.json /.google/.bio-check.json | ||
COPY assets/docker/config/base-config/.pys_usercfg.ini /Pysces/.pys_usercfg.ini | ||
COPY assets/docker/config/base-config/.pys_usercfg.ini /root/Pysces/.pys_usercfg.ini | ||
COPY assets/docker/config/.pys_usercfg.ini /Pysces/.pys_usercfg.ini | ||
COPY assets/docker/config/.pys_usercfg.ini /root/Pysces/.pys_usercfg.ini | ||
COPY pyproject.toml assets/docker/shared.py assets/test_fixtures /app/ | ||
COPY assets/docker/config/base-config/ assets/docker/config/worker-config/ /app/config/ | ||
COPY assets/docker/config/environment.api.yml assets/docker/config/environment.worker.yml /app/config/ | ||
|
||
# cd /app | ||
WORKDIR /app | ||
|
||
RUN mkdir -p /Pysces \ | ||
&& mkdir -p /Pysces/psc \ | ||
&& mkdir -p /root/Pysces \ | ||
&& mkdir -p /root/Pysces/psc | ||
# pip install . --root-user-action=ignore | ||
&& mkdir -p /root/Pysces/psc \ | ||
&& echo "conda activate server" >> ~/.bashrc | ||
|
||
|
||
# # create conda env from yml and ensure env activation | ||
RUN conda env create -f config/environment.base.yml -y \ | ||
&& rm -f config/environment.base.yml \ | ||
&& conda env export --no-builds > config/environment.lock.yml \ | ||
&& poetry lock | ||
# RUN conda env create -f config/environment.base.yml -y \ | ||
# && rm -f config/environment.base.yml \ | ||
# && conda env export --no-builds > config/environment.lock.yml \ | ||
# && poetry lock | ||
|
||
# create lockfile conda analogy: conda env export --no-builds > environment.lock.yml | ||
# && conda create -n conda-env python=3.10 -y \ | ||
|
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 |
---|---|---|
@@ -1 +1 @@ | ||
0.0.2-test | ||
0.0.2 |
File renamed without changes.
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
File renamed without changes.
14 changes: 0 additions & 14 deletions
14
assets/docker/config/worker-config/requirements.worker.txt
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
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