---
title: "Discussion on \"Deploy PHP Application using with PHP7, CodeIgniter, MySql, Composer Dependency.\" | Hashnode"
description: "Discussion on \"Deploy PHP Application using with PHP7, CodeIgniter, MySql, Composer Dependency.\". 1. Create DockerFile\nStep-1:- Use an official PHP runtime as a parent image\nFROM php:7.4-apache\nStep-2:- Set the working directory to /var/www/html/\nWORKDIR /var/www/html/\nStep-3:- Copy the application code to the container\nCOPY . /var/www/html/\nStep..."
url: "https://hashnode.com/posts/deploy-php-application-using-with-php7-codeigniter-mysql-composer-dependency/64a4dbe784ae15f092e9287d"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Deploy PHP Application using with PHP7, CodeIgniter, MySql, Composer Dependency.](https://chandansingh1989.hashnode.dev/deploy-php-application-using-with-php7-codeigniter-mysql-composer-dependency?utm_source=hashnode&utm_medium=feed)

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...

Jul 5, 2023 · 1 min read · chandansingh1989.hashnode.dev  
Read the article

-   [#deployment](https://hashnode.com/tag/deployment)

## Written by

[CHANDAN SINGH](https://hashnode.com/@Chandansingh)

@Chandansingh

  
[View profile](https://hashnode.com/@Chandansingh)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
