Skip to content

Instantly share code, notes, and snippets.

@mschoch
Last active January 3, 2016 18:59
Show Gist options
  • Save mschoch/8505285 to your computer and use it in GitHub Desktop.
Save mschoch/8505285 to your computer and use it in GitHub Desktop.
Dockerfile for nginx
FROM dustin/tiny
MAINTAINER Marty Schoch "[email protected]"
RUN apt-get update
RUN apt-get install -y nginx
RUN echo "daemon off;" >> /etc/nginx/nginx.conf
EXPOSE 80
CMD /usr/sbin/nginx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment