add config

This commit is contained in:
mm644706215
2024-12-24 10:25:04 +08:00
parent 736373c280
commit 1b87eab156
2 changed files with 11 additions and 6 deletions

View File

@@ -31,6 +31,8 @@ micromamba create -n ${MAMBA_ENV_NAME} python=${PYTHON_VERSION} -y
echo "mamba activate ${MAMBA_ENV_NAME}" >> /home/mambauser/.bashrc
git clone https://github.com/hotwa/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 ipython rdkit
EOT

View File

@@ -10,11 +10,12 @@ services:
# HTTP_PROXY: http://127.0.0.1:10809
image: hotwa/sime:latest
container_name: smi_mol
volumes:
- ../LIBRARIES:/app/SIME/LIBRARIES
# profiles:
# - production
# - testing
# volumes:
# - ../LIBRARIES:/app/SIME/LIBRARIES:rw
# user: "57439:57439"
profiles:
- production
- testing
ports:
- 5000:5000
command: >
@@ -22,4 +23,6 @@ services:
# docker-compose --profile production up -d
# 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