15 lines
204 B
Bash
Executable File
15 lines
204 B
Bash
Executable File
#!/bin/bash
|
|
|
|
docker build \
|
|
--tag sia \
|
|
.
|
|
|
|
docker run \
|
|
--rm \
|
|
-ti \
|
|
--gpus=all \
|
|
-p 8080:8080 \
|
|
-v /$(pwd)/model/:/root/model/ \
|
|
-v /$(pwd)/.env:/root/.env \
|
|
sia "$@"
|