Sign inSign up

drgarcia1986/nginx

By drgarcia1986

Updated almost 11 years ago

Simple Nginx image for quick usage

Image
1

1.5K

drgarcia1986/nginx repository overview

Dockerfile:

FROM ubuntu:trusty

MAINTAINER Diego Garcia <[email protected]>

RUN apt-get update
RUN apt-get install -y nginx
RUN apt-get clean
RUN rm -rf /var/lib/apt/lists/*

RUN echo "daemon off;" >> /etc/nginx/nginx.conf

EXPOSE 80

CMD ["/usr/sbin/nginx"]

Copy your nginx site configuration to /etc/nginx/sites-enabled and run :).

Tag summary

Content type

Image

Digest

sha256:1795d8a66

Size

90.1 MB

Last updated

almost 11 years ago

docker pull drgarcia1986/nginx