summaryrefslogtreecommitdiff
path: root/docker/Files/Start-codeserver.sh
diff options
context:
space:
mode:
authorrohmhatre2017-11-26 00:25:02 +0530
committerankitjavalkar2018-01-04 11:37:20 +0530
commit0713c60a5ad4b71d4a2050d13cf30afaf37d935b (patch)
treec7cb207ab05a2197fd8bdd13d1d559345a2b29ef /docker/Files/Start-codeserver.sh
parent6f2e29a067cbeaf88b8ea478bb7c24fe8772180a (diff)
downloadonline_test-0713c60a5ad4b71d4a2050d13cf30afaf37d935b.tar.gz
online_test-0713c60a5ad4b71d4a2050d13cf30afaf37d935b.tar.bz2
online_test-0713c60a5ad4b71d4a2050d13cf30afaf37d935b.zip
Added docker compose configuration
Diffstat (limited to 'docker/Files/Start-codeserver.sh')
-rw-r--r--docker/Files/Start-codeserver.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/docker/Files/Start-codeserver.sh b/docker/Files/Start-codeserver.sh
new file mode 100644
index 0000000..8b6ea96
--- /dev/null
+++ b/docker/Files/Start-codeserver.sh
@@ -0,0 +1,7 @@
+#!/bin/bash
+chown -R nobody /Sites/online_test
+chmod -R a+rwX yaksh_data/output
+chmod -R a+rX yaksh_data/data yaksh_data/yaksh
+chmod -R o-w yaksh_data/data yaksh
+chmod -R +X /Sites/online_test/
+/usr/bin/sudo -su nobody python3 -m yaksh.code_server