Skip to content

Instantly share code, notes, and snippets.

@davemkirk
Created May 31, 2014 02:45
Show Gist options
  • Select an option

  • Save davemkirk/83aaf91365db15b47c69 to your computer and use it in GitHub Desktop.

Select an option

Save davemkirk/83aaf91365db15b47c69 to your computer and use it in GitHub Desktop.

Revisions

  1. davemkirk created this gist May 31, 2014.
    12 changes: 12 additions & 0 deletions DockerFile
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,12 @@
    FROM ubuntu:12.04

    RUN apt-get update
    RUN apt-get install -y nginx zip curl

    RUN echo "daemon off;" >> /etc/nginx/nginx.conf
    RUN curl -o /usr/share/nginx/www/master.zip -L https://codeload.github.com/gabrielecirulli/2048/zip/master
    RUN cd /usr/share/nginx/www/ && unzip master.zip && mv 2048-master/* . && rm -rf 2048-master master.zip

    EXPOSE 80

    CMD ["/usr/sbin/nginx", "-c", "/etc/nginx/nginx.conf"]