A docker image file for 2048 web application
1.6K
A repository overview for your 2048-game Docker repository on Docker Hub:
This repository contains a Docker image for the classic 2048 game. The 2048 game is a single-player sliding tile puzzle game written in JavaScript. The objective is to slide numbered tiles on a grid to combine them and create a tile with the number 2048.
Pull the Image
Pull the Docker image from Docker Hub:
docker pull aashiqq/2048-game:latest
Run the Container
Run the Docker container:
docker run -d -p 8080:80 aashiqq/2048-game:latest
This will start the 2048 game and map port 80 in the container to port 8080 on your local machine.
Access the Game
Open a web browser and go to:
http://localhost:8080
Enjoy playing the 2048 game!
If you want to build the Docker image locally, follow these steps:
Clone the Repository
git clone <repository-url>
cd 2048-game
Build the Docker Image
docker build -t aashiqq/2048-game:latest .
Run the Docker Container
docker run -d -p 8080:80 aashiqq/2048-game:latest
Feel free to open issues or submit pull requests if you have suggestions for improvements or find bugs.
This project is licensed under the MIT License.
Aashiq - [email protected]
This overview provides a clear and concise description of your Docker repository, instructions for using the Docker image, and information for contributing to the project.
Content type
Image
Digest
sha256:aa2f1d1a8…
Size
68 MB
Last updated
over 2 years ago
docker pull aashiqq/2048-game