justest commited on
Commit
a6c72f2
·
1 Parent(s): 84a6290

Update start_server.sh

Browse files
Files changed (1) hide show
  1. start_server.sh +2 -0
start_server.sh CHANGED
@@ -1,5 +1,7 @@
1
  #!/bin/bash
2
 
 
 
3
  nginx -c $PWD/nginx.conf
4
 
5
  echo "Starting VSCode Server..."
 
1
  #!/bin/bash
2
 
3
+ commit=$(cat /app/openvscode-server/product.json | awk '/commit/{print $4;exit}' FS='[""]')
4
+ sed -i "s/#commit#/$commit/' nginx.conf
5
  nginx -c $PWD/nginx.conf
6
 
7
  echo "Starting VSCode Server..."