Skip to content

Commit

Permalink
Update start.sh permission fix at the entry point
Browse files Browse the repository at this point in the history
  • Loading branch information
seunAdeks authored Nov 6, 2024
1 parent 2f8344b commit 16a7349
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ if [ -n "$GIT_URL" ]; then
git clone $GIT_URL /home/coder/project
fi

sudo chown -R 1000:1000 /home/coder/project
cd /home/coder/project

if [ -f "requirements.txt" ]; then
Expand All @@ -18,4 +19,4 @@ if [ -f "package-lock.json" ]; then
npm install
fi

/usr/bin/entrypoint.sh --bind-addr 0.0.0.0:8080 .
/usr/bin/entrypoint.sh --bind-addr 0.0.0.0:8080 .

0 comments on commit 16a7349

Please sign in to comment.