From 48bacacc4eff75c6eea5d0a3c46623eab3447cda Mon Sep 17 00:00:00 2001 From: v-rocheleau Date: Tue, 5 Sep 2023 10:35:49 -0400 Subject: [PATCH] fix dev container entrypopint dir --- src/api/entrypoint.bash | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/api/entrypoint.bash b/src/api/entrypoint.bash index b11103b..5fcbb0d 100644 --- a/src/api/entrypoint.bash +++ b/src/api/entrypoint.bash @@ -13,5 +13,7 @@ chown -R bento_user:bento_user ./ chown -R bento_user:bento_user /app chmod -R o-rwx src/api/tmp +cd /gohan-api/src/api || exit + # Drop into bento_user from root and execute the CMD specified for the image exec gosu bento_user "$@"