summaryrefslogtreecommitdiff
path: root/yaksh/scripts/yaksh_script.sh
blob: 1401d09166d3375e33a860ba8ec6dfa9f9757429 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/bash
# Basic script to install pip packages and run the yaksh code server command

chown -R nobody output
chmod -R a+rwX output
chmod -R a+rX data yaksh
chmod -R o-w data yaksh
echo "** [CONTAINER] Installing python dependencies **"
pip3 install -r ./requirements-codeserver.txt
echo "** [CONTAINER] Running code server **"
touch server_running.txt
/usr/bin/sudo -su nobody python3 -m yaksh.code_server