Skip to content

Commit

Permalink
Merge pull request #18 from tsowa48/dev
Browse files Browse the repository at this point in the history
update Dockerfile
  • Loading branch information
tsowa48 authored Apr 12, 2021
2 parents 17554d0 + c11bd1b commit 132b403
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
FROM openjdk:11.0 as build
WORKDIR /app
COPY . /app
RUN ./gradlew -x test build

FROM openjdk:11.0
COPY build/libs/dent-*-all.jar dent.jar
COPY --from=build /app/build/libs/dent-*-all.jar dent.jar
EXPOSE 8090
CMD java -Dfile.encoding=UTF-8 -Dcom.sun.management.jmxremote -noverify ${JAVA_OPTS} -jar dent.jar

0 comments on commit 132b403

Please sign in to comment.