<reponame>madsum/currency_converter_back<gh_stars>0
FROM maven:3.5.2-jdk-8-alpine AS MAVEN_BUILD
MAINTAINER <NAME>
COPY pom.xml /build/
COPY src /build/src/
WORKDIR /build/
RUN mvn package
FROM openjdk:8-jre-alpine
WORKDIR /app
COPY --from=MAVEN_BUILD /build//target/currencyconverter-0.0.1-SNAPSHOT.jar /app/
ENTRYPOINT ["java", "-jar", "currencyconverter-0.0.1-SNAPSHOT.jar"]