Skip to content

Latest commit

 

History

History
45 lines (35 loc) · 1.73 KB

README.md

File metadata and controls

45 lines (35 loc) · 1.73 KB

PHP Docker Images


Docker Pulls Docker Build Status Docker Automated build

PHP docker images with composer, git and nano. Based on official PHP docker images.

Supported tags and respective Dockerfile links

Usage

Access container

$ docker run -it --rm -v "$PWD":/var/www/app greeflas/php:7.4-fpm bash

Docker-compose

services:
  # PHP FPM
  php-fpm:
    image: greeflas/php-fpm:7.4
    container_name: php-fpm
    volumes:
      - ./:/var/www/app
    working_dir: /var/www/app

$ docker-compose exec php-fpm bash