Skip to content

Commit 098819c

Browse files
author
jayh-song
committed
springboot sample
1 parent ba6fad1 commit 098819c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ ADD ./ /opt/build
55
WORKDIR /opt/build
66

77
RUN pwd \
8-
&& ls \
9-
&& ./gradlew build
8+
&& ls -alh \
9+
&& ./gradlew build --no-deamon \
10+
&& ls -alh ./build/libs/ \
11+
&& cp ./build/libs/devopssample-java-gradle-0.0.1.jar app.jar
1012

1113
VOLUME /tmp
12-
ARG JAR_FILE=./build/libs/devopssample-java-gradle-0.0.1.jar
13-
COPY ${JAR_FILE} app.jar
1414
ENTRYPOINT ["java","-Djava.security.egd=file:/dev/./urandom","-jar","/app.jar"]

0 commit comments

Comments
 (0)