Skip to content

Commit 2ea9ebd

Browse files
committed
docs: docker optional and mvn clean
Signed-off-by: Akash Jaiswal <akashjaiswal3846@gmail.com>
1 parent 80d3aac commit 2ea9ebd

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

spring-boot-jwt/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ RUN apt-get update && apt-get install -y maven
1010
# Copy the current directory contents into the container at /app
1111
COPY . /app/
1212

13+
# Run mvn clean install
14+
RUN mvn clean install
15+
1316
# Expose the port the app runs on
1417
EXPOSE 8080
1518

spring-boot-jwt/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Before getting started, make sure you have the following installed:
88

99
- Latest version of JDK
1010
- Install [Keploy](https://keploy.io/docs/server/installation/)
11-
- Install [Docker](https://docs.docker.com/engine/install/)
11+
- Install [Docker](https://docs.docker.com/engine/install/) (if you want to run application in docker).
1212
- Postman for testing APIs
1313

1414
## Getting Started

0 commit comments

Comments
 (0)