File size: 321 Bytes
819ff17 a6c72f2 05d4a34 15c36d3 819ff17 714a8e3 |
1 2 3 4 5 6 7 8 9 10 |
#!/bin/bash
commit=$(cat /app/openvscode-server/product.json | awk '/commit/{print $4;exit}' FS='[""]')
sed -i "s/#commit#/$commit/" nginx.conf
nginx -c $PWD/nginx.conf
echo "Starting VSCode Server..."
exec /app/openvscode-server/bin/openvscode-server --host 0.0.0.0 --port 5050 --without-connection-token \"${@}\" --
|