Skip to content

Commit

Permalink
Merge pull request #12 from dicoding-dev/adjust-user
Browse files Browse the repository at this point in the history
change user id
  • Loading branch information
habibimustafa authored Oct 10, 2023
2 parents a22e38f + d63cf59 commit cf8c7fe
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 cf8c7fe

Please sign in to comment.