Skip to content

Commit

Permalink
Add Docker instructions to README for container management
Browse files Browse the repository at this point in the history
  • Loading branch information
EliasDeHondt committed Jan 13, 2025
1 parent 61fd96e commit 75abe96
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@

1. [📘Table of Contents](#📘table-of-contents)
2. [🖖Introduction](#🖖introduction)
3. [🔗Links](#🔗links)
3. [🚀Docker](#🚀docker)
4. [🔗Links](#🔗links)

---

Expand All @@ -18,6 +19,22 @@ Please also see following documents:
- [SECURITY](SECURITY.md)
- [CONTRIBUTING](CONTRIBUTING.md)


## 🚀Docker

- Pull the latest image and run the container
```bash
sudo docker pull ghcr.io/eliasdh-com/eliasdhcom-frontend:latest
sudo docker run --name eliasdhcom-frontend-container -p 80:80 -d ghcr.io/eliasdh-com/eliasdhcom-frontend:latest
```

- Stop and remove the existing container and image
```bash
sudo docker stop eliasdhcom-frontend-container
sudo docker rm eliasdhcom-frontend-container
sudo docker rmi ghcr.io/eliasdh-com/eliasdhcom-frontend:latest
```

## 🔗Links
- 👯 Web hosting company [EliasDH.com](https://eliasdh.com).
- 📫 How to reach us elias.dehondt@outlook.com

0 comments on commit 75abe96

Please sign in to comment.