Skip to content

Commit 0240349

Browse files
committed
docker test
1 parent bd6f025 commit 0240349

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ ADD src ./src
44
RUN mvn package -DskipTests=true
55

66
FROM java:8
7+
COPY --from=build /target/spring-boot-thymeleaf-1.0.0-SNAPSHOT.jar /app.jar
78
VOLUME /tmp
8-
COPY --from=build /target/spring-boot-thymeleaf-1.0.0-SNAPSHOT.jar app.jar /app.jar
9-
RUN bash -c 'touch /app.jar'
109
ENTRYPOINT ["java","-Djava.security.egd=file:/dev/./urandom","-jar","/app.jar"]

0 commit comments

Comments
 (0)