<filename>Dockerfile
FROM ttbb/compile:jdk11-git-mvn AS build
COPY . /opt/sh/compile
WORKDIR /opt/sh/compile
RUN mvn -B clean package


FROM ttbb/base:jdk11

LABEL maintainer="<EMAIL>"

COPY --from=build /opt/sh/compile/performance-consumer/target/performance-consumer-0.0.1.jar /opt/sh/pf-consumer.jar

COPY docker-build /opt/sh

CMD ["/usr/bin/dumb-init", "bash", "-vx","/opt/sh/scripts/start.sh"]
