Skip to content
This repository was archived by the owner on Oct 7, 2024. It is now read-only.

Commit 3c05be4

Browse files
Merge pull request #216 from Brad-Christie/issue/205
Addresses targeting multi-os w/ docker-compose
2 parents 5957112 + d2801c8 commit 3c05be4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

strapi/docker-entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ if [ "$1" = "strapi" ]; then
2222
--dbssl=$DATABASE_SSL \
2323
$EXTRA_ARGS
2424

25-
elif [ ! -d "node_modules" ]; then
25+
elif [ ! -d "node_modules" ] || [ ! "$(ls -qAL node_modules 2>/dev/null)" ]; then
2626

2727
echo "Node modules not installed. Installing..."
2828

0 commit comments

Comments
 (0)