Skip to content

Commit

Permalink
chore: add APP_PATH
Browse files Browse the repository at this point in the history
Signed-off-by: Dup4 <[email protected]>
  • Loading branch information
Dup4 committed Jan 12, 2024
1 parent 8701d3e commit b0535c2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docker/bin/docker_entry.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
#! /bin/bash

if [[ -n "${APP_PATH}" ]]; then
cd "${APP_PATH}" || exit 1
fi

if [[ X"${1}" = X"bash" ]]; then
exec bash
else
Expand Down

0 comments on commit b0535c2

Please sign in to comment.