PHP Classes
elePHPant
Icontem

File: docker/php/Dockerfile

Recommend this page to a friend!
  Classes of Aleksandar Zivanovic  >  PHP Request Action Handler  >  docker/php/Dockerfile  >  Download  
File: docker/php/Dockerfile
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: PHP Request Action Handler
Handle HTTP requests to a REST API
Author: By
Last change:
Date: 6 months ago
Size: 578 bytes
 

 

Contents

Class file image Download
FROM php:fpm

RUN apt-get update && apt-get install -y libmcrypt-dev

RUN apt-get install -y libssl-dev libcurl4-openssl-dev pkg-config

# lumen packages
RUN docker-php-ext-install mcrypt mbstring tokenizer mysqli pdo_mysql

RUN apt-get install -y libz-dev libmemcached-dev

RUN pecl install mongodb && echo extension=mongodb.so >> /usr/local/etc/php/conf.d/mongodb.ini

RUN apt-get install -y curl

RUN curl -s https://getcomposer.org/installer | php

RUN mv composer.phar /usr/local/bin/composer

RUN apt-get install -y git unzip

WORKDIR /app

ENTRYPOINT php-fpm

EXPOSE 9000