I've used the code from this tutorial series REST with Spring Boot 3 (Spring Security 6) Thank you Piotr Wolak
- Install
Docker
(if you haven't done already) - run
docker build -t image_name .
- run
docker run -p 8080:8080 image_name
(feel free to change PORT number)