2048 Game Containerization and Deployment using Docker and AWS Elastic Beanstalk

This documentation provides a step-by-step guide to containerize the 2048 game using Docker and deploy it on the web using AWS Elastic Beanstalk.
Clone the 2048 game repository to your local machine:
$ git clone https://github.com/gabrielecirulli/2048.git
Create a Dockerfile in the root directory of the cloned repository: Dockerfile
The Dockerfile is available in this following github repository.
Build the Docker image for the 2048 game:
$ docker build -t 2048.0-game .
Run the Docker container to ensure the game works locally:
$ docker run -p 8080:80 2048-game
Visit http://localhost:8080 in your browser to verify.
Initialize Elastic Beanstalk in your project directory:
$ eb init
Follow the prompts to configure Elast ic Beanstalk. Ensure you select the correct region and platform (Docker).
Create a Dockerrun.aws.json file in the root directory:
The following json file is available on this github repository
Deploy the Docker container to AWS Elastic Beanstalk:
$ eb create 2048-game-env
Monitor the deployment process. Once complete, Elastic Beanstalk will provide a URL where your 2048 game is hosted.
Open the provided URL in your web browser to see the deployed 2048 game.