-
Notifications
You must be signed in to change notification settings - Fork 2
/
Dockerfile
19 lines (17 loc) · 847 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
FROM azul/zulu-openjdk-debian:8
MAINTAINER orzeh
ENTRYPOINT java $JAVA_OPTS -Djava.security.egd=file:/dev/./urandom -cp /app/ org.springframework.boot.loader.JarLauncher
# add Spring Boot launcher classes
COPY ./build/docker/org/ /app/org/
# add Logback configuration
COPY ./build/docker/BOOT-INF/classes/logback.xml /app/BOOT-INF/classes/
# runtime libraries
COPY ./build/docker/BOOT-INF/lib/ /app/BOOT-INF/lib/
# application configuration
COPY ./build/docker/BOOT-INF/classes/application.properties /app/BOOT-INF/classes/
# Spring Boot banner (updated when version changes)
COPY ./build/docker/BOOT-INF/classes/banner.txt /app/BOOT-INF/classes/
# application classes
COPY ./build/docker/BOOT-INF/classes/com/example /app/BOOT-INF/classes/com/example
# manifest file always recreated by Spring Boot
COPY ./build/docker/META-INF /app/META-INF/