Dockerfile 330 Bytes
Newer Older
1
2
FROM java:8-jdk-alpine

3
4
5
6
7
8
9
10
WORKDIR .

ADD target/security-internal-1.0.0-SNAPSHOT.jar app.jar
ADD src/main/config/security-internal-application-dev.yml application.yml

ADD src/main/config/*.jks ./

ENTRYPOINT java -jar app.jar --spring.profiles.active=dev --spring.config.location=classpath:./application.yml,file:./application.yml