Spaces:
Paused
Paused
Update entrypoint.sh
Browse files- entrypoint.sh +3 -0
entrypoint.sh
CHANGED
|
@@ -8,6 +8,9 @@ openssl genpkey -algorithm RSA -out private.key
|
|
| 8 |
openssl req -new -key private.key -out csr.pem -subj "/CN=localhost"
|
| 9 |
openssl req -x509 -days 365 -key private.key -in csr.pem -out localhost.crt
|
| 10 |
|
|
|
|
|
|
|
|
|
|
| 11 |
ls -lh
|
| 12 |
|
| 13 |
npm install -g npm@10.8.3
|
|
|
|
| 8 |
openssl req -new -key private.key -out csr.pem -subj "/CN=localhost"
|
| 9 |
openssl req -x509 -days 365 -key private.key -in csr.pem -out localhost.crt
|
| 10 |
|
| 11 |
+
export SSL_CERT_FILE=/home/user/socks-server/localhost.crt
|
| 12 |
+
export NODE_EXTRA_CA_CERTS=/home/user/socks-server/localhost.crt
|
| 13 |
+
export NODE_TLS_REJECT_UNAUTHORIZED=0
|
| 14 |
ls -lh
|
| 15 |
|
| 16 |
npm install -g npm@10.8.3
|