peerjs : options du containeur desormais explicites

This commit is contained in:
Gitouche 2023-03-10 09:42:53 +01:00
parent 69d1edcde6
commit 580b4c8926
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ ensure_container_not_exists ${container_name}
if ! podman image exists ${upstream_images}:${version}; then
podman image pull ${upstream_images}:${version} || exit 1
fi
podman run --name ${container_name} --user nobody -p ${listen_if}:${listen_port}:9000 -d ${upstream_images}:${version} &&
podman run --name ${container_name} --user nobody -p ${listen_if}:${listen_port}:9000 -d ${upstream_images}:${version} --port 9000 --path /myapp &&
( podman logs -f ${container_name} 2>&1 & ) | grep -q 'Started PeerServer' &&
podman stop ${container_name} &&
echo Container ${container_name} successfully built and stopped.