https://github.com/tech-preta/calculator
https://github.com/tech-preta/calculator
css docker javascript nginx
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/tech-preta/calculator
- Owner: Tech-Preta
- License: gpl-3.0
- Created: 2025-03-19T15:56:09.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-19T15:58:54.000Z (about 1 year ago)
- Last Synced: 2025-03-19T16:41:07.706Z (about 1 year ago)
- Topics: css, docker, javascript, nginx
- Language: HTML
- Homepage: https://nataliagranato.xyz
- Size: 0 Bytes
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Simple Calculator
This is a simple calculator implemented using HTML, CSS, and JavaScript. It is served using Nginx in a Docker container.
## Project Structure
```
/
├── docker/
│ ├── Dockerfile
│ └── nginx.conf
├── src/
│ ├── index.html
│ ├── style.css
│ └── script.js
└── README.md
```
## How to Build and Run
1. Clone this repository.
2. Navigate to the `docker/` directory.
3. Build the Docker image:
```sh
docker build -t simple-calculator .
```
4. Run the Docker container:
```sh
docker run -d -p 8080:80 simple-calculator
```
5. Open your browser and navigate to `http://localhost:8080` to see the calculator.
## Acknowledgements
This project was created as a simple example to demonstrate the use of HTML, CSS, JavaScript, and Docker.