Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

docker create spring boot image

FROM openjdk:8-jdk-alpine
ARG JAR_FILE=target/*.jar
COPY ${JAR_FILE} app.jar
ENTRYPOINT ["java","-jar","/app.jar"]COPY
Source by spring.io #
 
PREVIOUS NEXT
Tagged: #docker #create #spring #boot #image
ADD COMMENT
Topic
Name
9+2 =