diff --git a/README.md b/README.md index 1f48fc5c3c5ba9c0108147dc3fdb0c75ca2651d5..8458ac1fad33b81c4914d1609459a9fef984fccb 100644 --- a/README.md +++ b/README.md @@ -31,6 +31,24 @@ mvn clean install mvn spring-boot:run ``` +## Docker +How to run the application with docker. **NOTE:** You need to have docker pre-installed: [Click here](https://docs.docker.com/get-docker/) + +### 1. Build the Docker image +```bash +docker build -t your-image-name . +``` + +### 2. Verify the image was created +```bash +docker images +``` + +### 3. Run the Docker container: +```bash +docker run -d --name your-container-name -p 8080:8080 your-image-name +``` + ## Tests ### 1. Run tests ```bash