x-undefined-2 commited on
Commit
6e7ea42
·
verified ·
1 Parent(s): f697a0d

Update entrypoint.sh

Browse files
Files changed (1) hide show
  1. entrypoint.sh +1 -19
entrypoint.sh CHANGED
@@ -1,21 +1,3 @@
1
  #!/bin/bash
2
 
3
-
4
- export PATH=$PATH:$HOME/socks-server/node-v20.15.0-linux-x64/bin
5
-
6
- echo $PWD
7
-
8
- openssl genpkey -algorithm RSA -out private.key
9
- openssl req -new -key private.key -out csr.pem -subj "/CN=localhost"
10
- openssl req -x509 -days 365 -key private.key -in csr.pem -out localhost.crt
11
-
12
- export SSL_CERT_FILE=$HOME/socks-server/localhost.crt
13
- export NODE_EXTRA_CA_CERTS=$HOME/socks-server/localhost.crt
14
- export NODE_TLS_REJECT_UNAUTHORIZED=0
15
- ls -lh
16
-
17
- npm install -g npm@10.8.3
18
- npm install wrangler@3.60.0
19
- npm install cross-env
20
- npm i
21
- npm run start
 
1
  #!/bin/bash
2
 
3
+ java -jar $HOME/nioweb-0.0.1.jar