Created
November 19, 2018 14:57
-
-
Save eMahtab/4c63c40e16c3aa388fc57895f448c911 to your computer and use it in GitHub Desktop.
Docker 2048
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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://github.com/eMahtab/2048/archive/master.zip | |
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"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment