This will helps you to run your laravel application.
- Copy all the files into your laravel root directory.
- Modify the
docker-compose.yml
file with your required information. UPDATE DATABASE CREDENTIAL - Modify
Dockerfile
for installing any additional packages. - Modify
.docker/nginx/conf.d/app.conf
for webserver. - Modify
.docker/php/local.ini
for necessary php related changes. - Modify
.docker/mssql/my.cnf
for mysql changes.
Finally, RUN the following command to build the docker image:
docker-compose up -d
docker-compose up -d --build