Docker image for PHP7 with MSSQL drivers running on a CentOS host.
- EPEL
- Webtatic
- wget
- httpd
- php-7
- freetds
- composer
- php-gd
- php-common
- php-fpm
- php-common
- php-mbstring
- php-mysql
- php-odbc
- php-pdo
- php-xml
- php-pdo-dblib
The official folder serviced by Apache is /app/public
. The setup is primarily build for Laravel deployment. If it's your case, mount your app to /app
so the Laravel's public folder will serviced as sepected
If you are deploying a Laravel project, you may need to use artisan
. To do so, you only have to run docker exec -it my_container php artisan {command}
. The working directory is by default set to /app