jawn.dockerfile 289 B

1234567891011
  1. FROM gradle:5.4.1-jdk11 as gradle
  2. WORKDIR /jawn
  3. COPY build.gradle build.gradle
  4. COPY src src
  5. RUN gradle install --refresh-dependencies --no-daemon
  6. FROM openjdk:11.0.5-jre-stretch
  7. WORKDIR /jawn
  8. COPY --from=gradle /jawn/build/install/jawn .
  9. ENTRYPOINT ["bin/jawn"]
  10. CMD ["8080","production"]