https://github.com/diraneyya/loai-dockerisation-class
In this class, we dockerise this application https://github.com/jaredwray/keyv/tree/main on GitHub
https://github.com/diraneyya/loai-dockerisation-class
Last synced: 4 months ago
JSON representation
In this class, we dockerise this application https://github.com/jaredwray/keyv/tree/main on GitHub
- Host: GitHub
- URL: https://github.com/diraneyya/loai-dockerisation-class
- Owner: diraneyya
- Created: 2024-12-16T18:39:52.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-12-16T18:48:04.000Z (over 1 year ago)
- Last Synced: 2025-11-16T17:32:14.375Z (7 months ago)
- Language: Dockerfile
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Dockerisation 101
In this class I teached the basics of containerisation which allows us to containerise this application from GitHub: https://github.com/jaredwray/keyv/tree/main
## Instructions
To build the image, please copy the contents of this repository to the worktree of the KV project and run the following:
```
docker build . --tag=friendly_name
```
After that, to run the image you can use the following command:
```
docker run -p 3000:3000 friendly_name
```
And that's it!
## Notes
Note that we did not use some of the advanced Dockerisation concepts such as:
- Better caching
- Multi-stage builds
- Run mounts
- etc.
## Learn and improve
Compare our work here to the Docker image on Docker hub (https://hub.docker.com/r/valkey/valkey) and continue to learn and improve.
If you have any questions, reach out.