mirror of
https://github.com/fauxpilot/fauxpilot.git
synced 2025-08-14 02:28:06 -07:00
Reduce docker build context size
This commit is contained in:
parent
60674dbbd5
commit
6ac8d0b081
10 changed files with 60 additions and 354 deletions
|
@ -3,7 +3,7 @@ services:
|
|||
triton:
|
||||
build:
|
||||
context: ../../
|
||||
dockerfile: Dockerfile
|
||||
dockerfile: ../../triton.Dockerfile
|
||||
command: bash -c "CUDA_VISIBLE_DEVICES="${GPUS}" mpirun -n 1 --allow-run-as-root /opt/tritonserver/bin/tritonserver --model-repository=/model"
|
||||
shm_size: '2gb'
|
||||
volumes:
|
||||
|
@ -20,7 +20,7 @@ services:
|
|||
# For local build
|
||||
build:
|
||||
context: ../../
|
||||
dockerfile: copilot_proxy/Dockerfile
|
||||
dockerfile: ../../proxy.Dockerfile
|
||||
env_file:
|
||||
# Automatically created via ./setup.sh
|
||||
- test.env
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue