Added init flag to docker run to handle defunct processes

This commit is contained in:
Niels Geens
2024-12-03 12:25:06 +01:00
parent a0353d0d49
commit be81d117ac

4
run.sh
View File

@@ -7,12 +7,12 @@ docker build \
.
docker run \
--init \
--rm \
-ti \
--gpus=all \
-p 8080:8080 \
--env-file .env \
-v /$(pwd)/model/:/root/model/ \
-v /$(pwd)/.env:/root/.env \
-v /$(pwd)/iterations/:/root/sia/iterations/ \
-v /$(pwd)/.git/:/root/sia/.git/ \
sia "$@"