ManagementSystem/BACKEND/docker-entrypoint.sh

11 lines
166 B
Bash
Executable File

#!/bin/sh
if [ ! -f "$PWD/vendor/autoload.php" ]; then
composer install
fi
chown -R apache:apache /var/www/html
chmod -R 775 /var/www/html
httpd -D FOREGROUND