PHP Classes

File: docker/Dockerfile

Recommend this page to a friend!
  Classes of Nahidul Hasan  >  Lumen PHP JWT API Authentication  >  docker/Dockerfile  >  Download  
File: docker/Dockerfile
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Lumen PHP JWT API Authentication
Create an API that supports JSON Web tokens
Author: By
Last change:
Date: 2 years ago
Size: 341 bytes


Class file image Download
FROM php:7.0-fpm

RUN docker-php-ext-install pdo_mysql
RUN apt-get update && apt-get install -y \
        libmcrypt-dev \
    && docker-php-ext-install -j$(nproc) mcrypt \
    && docker-php-ext-install -j$(nproc) pdo

FROM mysql

RUN apt-get install -y mysql-server \
    -y mysql-client

FROM nginx

COPY nginx.conf /etc/nginx/nginx.conf
For more information send a message to info at phpclasses dot org.