File size: 526 Bytes
795282e
 
 
49b5588
795282e
49b5588
 
 
 
 
 
795282e
1
2
3
4
5
6
7
8
9
10
11
12
FROM python:3.9
RUN ln -s docker/{cpu/Dockerfile,cpu/docker-compose.yml,.dockerignore} .
RUN cp docker/.env.example .env
#Create logs/cache dir : 
RUN mkdir -p logs cache
# Edit .env and set: 
#   TORCH_CUDA_ARCH_LIST based on your GPU model
#   APP_RUNTIME_GID      your host user's group id (run `id -g` in a terminal)
#   BUILD_EXTENIONS      optionally add comma separated list of extensions to build
# Edit CMD_FLAGS.txt and add in it the options you want to execute (like --listen --cpu)
# 
RUN docker compose up --build