mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-11-28 09:08:36 +02:00
fix
This commit is contained in:
parent
ddb9307873
commit
f3ec6fd910
2
ghost/arm/docker-entrypoint.sh
Normal file → Executable file
2
ghost/arm/docker-entrypoint.sh
Normal file → Executable file
@ -6,7 +6,7 @@ if [[ "$*" == npm*start* ]]; then
|
||||
targetDir="$GHOST_CONTENT/$(basename "$dir")"
|
||||
mkdir -p "$targetDir"
|
||||
if [ -z "$(ls -A "$targetDir")" ]; then
|
||||
tar -c --one-file-system -C "$dir" . | tar xC "$targetDir"
|
||||
tar cC "$dir" . | tar xC "$targetDir"
|
||||
fi
|
||||
done
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user