Public Repository

Last pushed: 2 years ago
Short Description
Ubuntu 14.04 based nginx docker
Full Description

#Based on Ubuntu 14.04
FROM ubuntu:14.04
MAINTAINER Sandeep Kumar kkumar.sandeep89@gmail.com

#Adding nginx.conf that will be the default site
ADD nginx.conf nginx.conf

#installing Nginx, PHP and vim
RUN apt-get update && \
apt-get install -y vim nginx php5 php5-cli php5-fpm php5-mysql php5-mcrypt php5-gd php5-curl php5-imap && \
cp nginx.conf /etc/nginx/sites-available/default && \
php5enmod mcrypt && \
php5enmod imap && \
service php5-fpm restart && \
service nginx restart

#Putting the services in startup
RUN update-rc.d php5-fpm defaults && update-rc.d nginx defaults

Docker Pull Command
Owner
vishwakarma09