docker-run-command.sh
· 215 B · Bash
Surowy
#!/bin/bash
chmod 777 /logs
ln -sf /opt/vendor /app/vendor
ln -sf /app/config/${CONFIG_FILE} /app/config/config.ini
pm2 start /opt/builder/ecosystem.config.js
/etc/init.d/php7.4-fpm start && apachectl -D FOREGROUND
| 1 | #!/bin/bash |
| 2 | chmod 777 /logs |
| 3 | ln -sf /opt/vendor /app/vendor |
| 4 | ln -sf /app/config/${CONFIG_FILE} /app/config/config.ini |
| 5 | pm2 start /opt/builder/ecosystem.config.js |
| 6 | /etc/init.d/php7.4-fpm start && apachectl -D FOREGROUND |