Nexchan commited on
Commit
d2256ae
1 Parent(s): 2ea0e50

Create entrypoint.sh

Browse files
Files changed (1) hide show
  1. 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"