Tagged: Dockerizing a Spring Boot Application

Dockerizing a Spring Boot Application 0

Dockerizing a Spring Boot Application

Dockerizing a Spring Boot Application make Dockerfile in the root folder and add the following line FROM openjdk:8-jdk-alpine ADD /build/libs/asset-management-service.jar asset-management-service.jar ENTRYPOINT [“java”,”-jar”,”/asset-management-service.jar”] EXPOSE 9195 save file with the name of Dockerfile. Type the...