Skip to content

Commit 5f3fd9e

Browse files
praseodymSille Kamoen
authored and
Sille Kamoen
committed
Use WISVCH/spring-boot-base Docker base image (#470)
1 parent ab2eef4 commit 5f3fd9e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Dockerfile

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM wisvch/alpine-java:8_server-jre_unlimited
2-
ADD build/libs/lancie-api.jar /srv/lancie-api.jar
3-
WORKDIR /srv
4-
CMD "/srv/lancie-api.jar"
1+
FROM wisvch/spring-boot-base:1
2+
COPY ./build/libs/lancie-api.jar /srv/lancie-api.jar
3+
USER spring-boot
4+
CMD ["/srv/lancie-api.jar"]

0 commit comments

Comments
 (0)