+
Skip to content

ttwthomas/2048

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 

Repository files navigation

docker-2048

Version web du jeu 2048 based on alexwhen/docker-2048 and on gabrielecirulli/2048(https://github.com/gabrielecirulli/2048)

#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;"]

run the docker container with your own build

git clone https://github.com/alexwhen/docker-2048.git
docker build -t "docker-2048" .
docker run -d -p 8080:80 docker-2048

run the docker container by pulling the image directly

docker run -d -p 8080:80 alexwhen/docker-2048

Access the game

http://127.0.0.1:8080

About

2048 app

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 39.5%
  • CSS 33.5%
  • SCSS 20.3%
  • HTML 6.7%
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载