This commit is contained in:
anhefti 2019-02-04 21:52:38 +01:00
parent 21efe190bd
commit 9793304ead

View file

@ -10,6 +10,9 @@ RUN mvn clean install -e -P Demo -DskipTests
FROM openjdk:8-jre-alpine
WORKDIR /demo
COPY --from=1 /demo/target/seb-server-0.1.0-SNAPSHOT.jar /demo
EXPOSE 8080
ENTRYPOINT ["sh", "-c"]
CMD ["java -jar seb-server-0.1.0-SNAPSHOT.jar --spring.config.location=classpath:/config/,file:/demo/externalResources/ --spring.profiles.active=demo"]
CMD ["java -jar seb-server-0.1.0-SNAPSHOT.jar --spring.config.location=classpath:/config/,file:/demo/externalResources/ --spring.profiles.active=demo"]
EXPOSE 8080