PHP Classes

File: Dockerfile

Recommend this page to a friend!
  Classes of Nahidul Hasan   Laravel Docker Kubernetes   Dockerfile   Download  
File: Dockerfile
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Laravel Docker Kubernetes
Run a Laravel project using Docker and Kubernetes
Author: By
Last change:
Date: 2 years ago
Size: 510 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 RUN apt-get install -y nginx supervisor && \ rm -rf /var/lib/apt/lists/* COPY . /var/www/html WORKDIR /var/www/html RUN rm /etc/nginx/sites-enabled/default COPY /docker/nginx/nginx.conf /etc/nginx/conf.d/default.conf RUN chmod +x ./entrypoint ENTRYPOINT ["./entrypoint"] EXPOSE 80