Spaces:
Sleeping
Sleeping
Create entrypoint.sh
Browse files- entrypoint.sh +8 -0
entrypoint.sh
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#!/bin/bash
|
2 |
+
set -e
|
3 |
+
|
4 |
+
# Start SSH server
|
5 |
+
service ssh start
|
6 |
+
|
7 |
+
# Switch to Nex user and start code-server
|
8 |
+
su - Nex -c "code-server . --bind-addr 0.0.0.0:7860 --auth none"
|