Unsterile commited on
Commit
8af0266
1 Parent(s): 6d0cac3

Update start_server.sh

Browse files
Files changed (1) hide show
  1. start_server.sh +3 -2
start_server.sh CHANGED
@@ -1,13 +1,14 @@
1
  #!/bin/bash
2
 
 
3
  service nginx start
4
 
5
  echo "Starting VSCode Server..."
6
  /app/openvscode-server/bin/openvscode-server --host 0.0.0.0 --port 7860 --without-connection-token "${@}" &
7
 
8
  #/home/user/one-api/one-api --port 3000 --log-dir ./logs &
9
-
10
- /usr/bin/code-server --bind-addr 0.0.0.0:8080 --auth none &
11
 
12
  #echo "Starting Code Tunnel..."
13
  #/usr/bin/code tunnel --accept-server-license-terms &
 
1
  #!/bin/bash
2
 
3
+ nginx -t
4
  service nginx start
5
 
6
  echo "Starting VSCode Server..."
7
  /app/openvscode-server/bin/openvscode-server --host 0.0.0.0 --port 7860 --without-connection-token "${@}" &
8
 
9
  #/home/user/one-api/one-api --port 3000 --log-dir ./logs &
10
+ cd /usr/lib/node_modules/code-server/lib/vscode/ && npm i . --production --force
11
+ /usr/bin/code-server --bind-addr 0.0.0.0:8080 --auth none --proxy-domain cripp.link &
12
 
13
  #echo "Starting Code Tunnel..."
14
  #/usr/bin/code tunnel --accept-server-license-terms &