This commit is contained in:
mm644706215
2025-02-18 21:25:36 +08:00
parent d139286d61
commit 45766db7dd
2 changed files with 8 additions and 8 deletions

View File

@@ -1,6 +1,6 @@
ARG CUDA_VERSION='12.4.1'
FROM mambaorg/micromamba:cuda${CUDA_VERSION}-ubuntu22.04
# ARG CUDA_VERSION='12.4.1'
FROM mambaorg/micromamba:latest
ARG ROOT_PASSWD="micromamba"
ENV ROOT_PASSWD=${ROOT_PASSWD}
ARG HTTPS_PROXY=""

View File

@@ -1,11 +1,11 @@
version: '3'
services:
app:
build:
context: .
dockerfile: Dockerfile
args:
CUDA_VERSION: 12.4.1
# 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
@@ -13,14 +13,14 @@ services:
# volumes:
# - ../LIBRARIES:/app/SIME/LIBRARIES:rw
# user: "57439:57439"
profiles:
- production
- testing
# profiles:
# - production
# - testing
ports:
- 5000:5000
command: >
micromamba run -n SIME python main.py
# tail -f /dev/null
# 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