Skip to content

Instantly share code, notes, and snippets.

View beisong7's full-sized avatar
🚀
Bring me the sky...

Benjamin Isong beisong7

🚀
Bring me the sky...
View GitHub Profile

DAMP - Setup an Apache, MySQL & PHP local server using Docker

Prerequisites

Setup

  1. Create a new directory for your local server (MY_APP is used as a placeholder)
  2. Add docker-compose.yml, Dockerfile and nginx.conf files to the root of your server directory.
  3. With your favorite terminal application:
@beisong7
beisong7 / Dockerfile
Last active April 13, 2021 14:22 — forked from shov/Dockerfile
Docker PHP 7.2 fpm with GD jpg, png suppot
FROM php:7.2-apache
RUN apt-get update
# WORKDIR /app
RUN apt-get install -y \
git \
zip \
curl \