Files
SIME/docker/docker-compose.yml
mm644706215 1b87eab156 add config
2024-12-24 10:25:04 +08:00

28 lines
815 B
YAML

version: '3'
services:
app:
build:
context: .
dockerfile: Dockerfile
args:
CUDA_VERSION: 12.4.1
# HTTPS_PROXY: http://127.0.0.1:10809
# HTTP_PROXY: http://127.0.0.1:10809
image: hotwa/sime:latest
container_name: smi_mol
# volumes:
# - ../LIBRARIES:/app/SIME/LIBRARIES:rw
# user: "57439:57439"
profiles:
- production
- testing
ports:
- 5000:5000
command: >
micromamba run -n SIME python main.py
# 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 cp smi_mol:/app/SIME/LIBRARIES/ ../LIBRARIES
# docker cp smi_mol:/app/SIME/LIBRARIES/2024-12-24-02-19-29_mcrl_info ../LIBRARIES