Skip to content

A simple and elegant digital clock web application, containerized with Docker and ready for deployment. It displays the current time, updated every second, against a visually appealing blurred background.

License

Notifications You must be signed in to change notification settings

Amnoor/Digital-Clock-Program

Repository files navigation

Digital Clock

License: MIT Docker Pulls GitHub last commit

A simple and elegant digital clock web application, containerized with Docker and ready for deployment. It displays the current time, updated every second, against a visually appealing blurred background.


Digital Clock Icon


Table Of Contents

About The Project

This project is a minimalist digital clock built with fundamental web technologies. It is designed to be lightweight and easily portable, thanks to its Docker containerization and an automated CI/CD pipeline for efficient releases.

Built With

  • HTML5
  • CSS3
  • JavaScript (ES6)
  • Docker
  • BusyBox
  • GitHub Actions

Getting Started

To get a local copy up and running, follow these simple steps.

Prerequisites

Ensure you have Docker installed on your machine.

Running Locally

You can run this application in two ways:

Option 1: Using the Pre-built Docker Image

  1. Pull the Docker image from Docker Hub:
    docker pull amnoorbrar/digital-clock
  2. Run the Docker container:
    docker run --rm -itd -p 8080:80 amnoorbrar/digital-clock
  3. Access the application:
    Open your browser and navigate to http://localhost:8080.

Option 2: Building from Source

  1. Clone the repository:
    git clone https://github.com/Amnoor/Digital-Clock-Program.git
    cd Digital-Clock-Program
  2. Build the Docker image:
    docker build -t digital-clock .
  3. Run the container:
    docker run --rm -p 8080:80 digital-clock
  4. Access the application:
    Open your browser and navigate to http://localhost:8080.

Acknowledgement

A big thank you to everyone who has contributed to this project.

License

Distributed under the MIT License. See LICENSE for more information.