Sign inSign up

aashiqq/2048-game

By aashiqq

•Updated over 2 years ago

A docker image file for 2048 web application

Image
Networking
Developer tools
Web servers
0

1.6K

aashiqq/2048-game repository overview

A repository overview for your 2048-game Docker repository on Docker Hub:


⁠2048-game
⁠Overview

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.

⁠Features
  • Simple Setup: Easily run the 2048 game in a Docker container.
  • Lightweight: The Docker image is optimized for minimal size and quick startup.
  • Cross-Platform: Run the game on any platform that supports Docker (Windows, macOS, Linux).
⁠How to Use
  1. Pull the Image

    Pull the Docker image from Docker Hub:

    docker pull aashiqq/2048-game:latest
    
  2. 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.

  3. Access the Game

    Open a web browser and go to:

    http://localhost:8080
    

    Enjoy playing the 2048 game!

⁠Building the Image Locally

If you want to build the Docker image locally, follow these steps:

  1. Clone the Repository

    git clone <repository-url>
    cd 2048-game
    
  2. Build the Docker Image

    docker build -t aashiqq/2048-game:latest .
    
  3. Run the Docker Container

    docker run -d -p 8080:80 aashiqq/2048-game:latest
    
⁠Contributing

Feel free to open issues or submit pull requests if you have suggestions for improvements or find bugs.

⁠License

This project is licensed under the MIT License.

⁠Maintainer

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.

Tag summary

Content type

Image

Digest

sha256:aa2f1d1a8…

Size

68 MB

Last updated

over 2 years ago

docker pull aashiqq/2048-game