Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

dockerfile spring boot

FROM openjdk:8-jdk-alpine
VOLUME /tmp
ARG JAR_FILE
COPY ${JAR_FILE} app.jar
ENTRYPOINT ["java","-jar","/app.jar"]COPY
Source by spring.io #
 
PREVIOUS NEXT
Tagged: #dockerfile #spring #boot
ADD COMMENT
Topic
Name
8+5 =