File size: 239 Bytes
79304a7
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
# Set the platform flag if we're on ARM
arch=$(uname -m)
if [[ "$arch" == "arm64" || "$arch" == "aarch64" ]]; then
    platform_flag="--platform linux/amd64"
else
    platform_flag=""
fi

docker run -it -p 8501:8501 $platform_flag  testdox