Deploy PHP Application using with PHP7, CodeIgniter, MySql, Composer Dependency.
1. Create DockerFile
Step-1:- Use an official PHP runtime as a parent image
FROM php:7.4-apache
Step-2:- Set the working directory to /var/www/html/
WORKDIR /var/www/html/
Step-3:- Copy the application code to the container
COPY . /var/www/html/
Step...
chandansingh1989.hashnode.dev1 min read