Skip to content

Commit

Permalink
change user id
Browse files Browse the repository at this point in the history
  • Loading branch information
habibimustafa authored Oct 10, 2023
1 parent a22e38f commit d63cf59
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
#!/bin/bash

if [ ! -z "$AGRSUSER" ]; then
usermod -u $AGRSUSER assistest
fi

rm -f /home/assistest/reports/report.json || true
chown -R assistest:assistest /home/assistest/student-app
exec gosu assistest "$@"

0 comments on commit d63cf59

Please sign in to comment.