File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -62,17 +62,17 @@ if [ -f "/app/composer.json" ] && [ ! -d "/app/vendor" ]; then
6262 echo -e " ${GREEN} ✓ Vendor directory ownership set${NC} "
6363 fi
6464
65- # Set permissions for node_modules directory if it exists
66- if chown -R www-data:www-data /app/node_modules 2> /dev/null; then
67- chmod -R 775 /app/node_modules
68- echo -e " ${GREEN} ✓ Node modules directory ownership set${NC} "
69- else
70- echo -e " ${YELLOW} ⚠ Node modules directory ownership could not be set (mounted volume?)${NC} "
71- fi
72-
7365 echo -e " ${GREEN} ✓ Composer dependencies installed successfully.${NC} "
7466fi
7567
68+ # Set permissions for node_modules directory if it exists
69+ if chown -R www-data:www-data /app/node_modules 2> /dev/null; then
70+ chmod -R 775 /app/node_modules
71+ echo -e " ${GREEN} ✓ Node modules directory ownership set${NC} "
72+ else
73+ echo -e " ${YELLOW} ⚠ Node modules directory ownership could not be set (mounted volume?)${NC} "
74+ fi
75+
7676echo -e " ${GREEN} Starting supervisord...${NC} "
7777
7878# Start supervisord
You can’t perform that action at this time.
0 commit comments