simple is better
a smaller docker version of 2048
Base on gabrielecirulli/2048(https://github.com/gabrielecirulli/2048)
Base on alpine
Base on nginx
#dockerfile
FROM alpine:latest
MAINTAINER alex <alexwhen@gmail.com>
RUN apk --update add nginx
COPY 2048 /usr/share/nginx/html
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]
git clone https://github.com/alexwhen/docker-2048.git
docker build -t "docker-2048" .
docker run -d -p 8080:80 docker-2048
docker run -d -p 8080:80 alexwhen/docker-2048
http://127.0.0.1:8080
If you run docker with boot2docker on Mac or Windows, the URL should be
http://192.168.59.103:8080
...