github.com/rohankumardubey/draft-classic@v0.16.0/packs/gradle/Dockerfile (about)

     1  FROM gradle:jdk10 as BUILD
     2  
     3  COPY --chown=gradle:gradle . /project
     4  RUN gradle -i -s -b /project/build.gradle clean installDist && \
     5      rm -rf /project/build/install/*/bin/*.bat
     6  
     7  FROM openjdk:10-jre-slim
     8  ENV PORT 4567
     9  EXPOSE 4567
    10  COPY --from=BUILD /project/build/install/* /opt/
    11  WORKDIR /opt/bin
    12  CMD ["/bin/bash", "-c", "find -type f -name '*' | xargs bash"]