add config
This commit is contained in:
@@ -31,6 +31,8 @@ micromamba create -n ${MAMBA_ENV_NAME} python=${PYTHON_VERSION} -y
|
|||||||
echo "mamba activate ${MAMBA_ENV_NAME}" >> /home/mambauser/.bashrc
|
echo "mamba activate ${MAMBA_ENV_NAME}" >> /home/mambauser/.bashrc
|
||||||
git clone https://github.com/hotwa/SIME
|
git clone https://github.com/hotwa/SIME
|
||||||
cd /app/SIME
|
cd /app/SIME
|
||||||
|
mkdir -p /app/SIME/LIBRARIES
|
||||||
|
mkdir -p /app/SIME/uploads
|
||||||
micromamba run -n ${MAMBA_ENV_NAME} pip install -r requirements.txt
|
micromamba run -n ${MAMBA_ENV_NAME} pip install -r requirements.txt
|
||||||
micromamba run -n ${MAMBA_ENV_NAME} pip install ipython rdkit
|
micromamba run -n ${MAMBA_ENV_NAME} pip install ipython rdkit
|
||||||
EOT
|
EOT
|
||||||
|
|||||||
@@ -10,11 +10,12 @@ services:
|
|||||||
# HTTP_PROXY: http://127.0.0.1:10809
|
# HTTP_PROXY: http://127.0.0.1:10809
|
||||||
image: hotwa/sime:latest
|
image: hotwa/sime:latest
|
||||||
container_name: smi_mol
|
container_name: smi_mol
|
||||||
volumes:
|
# volumes:
|
||||||
- ../LIBRARIES:/app/SIME/LIBRARIES
|
# - ../LIBRARIES:/app/SIME/LIBRARIES:rw
|
||||||
# profiles:
|
# user: "57439:57439"
|
||||||
# - production
|
profiles:
|
||||||
# - testing
|
- production
|
||||||
|
- testing
|
||||||
ports:
|
ports:
|
||||||
- 5000:5000
|
- 5000:5000
|
||||||
command: >
|
command: >
|
||||||
@@ -23,3 +24,5 @@ services:
|
|||||||
# docker-compose --profile production up -d
|
# docker-compose --profile production up -d
|
||||||
# docker-compose --profile production -f docker-compose.yml build
|
# docker-compose --profile production -f docker-compose.yml build
|
||||||
# docker-compose --profile production -f docker-compose.yml up -d
|
# docker-compose --profile production -f docker-compose.yml up -d
|
||||||
|
# docker cp smi_mol:/app/SIME/LIBRARIES/ ../LIBRARIES
|
||||||
|
# docker cp smi_mol:/app/SIME/LIBRARIES/2024-12-24-02-19-29_mcrl_info ../LIBRARIES
|
||||||
Reference in New Issue
Block a user