AicsKnowledgeBase_backend/Dockerfile

16 lines
362 B
Docker

FROM azul/zulu-openjdk-alpine:17-jre-headless-latest
WORKDIR /app
ARG EXTRACTED=build/extracted
COPY ${EXTRACTED}/dependencies ./
COPY ${EXTRACTED}/spring-boot-loader/ ./
COPY ${EXTRACTED}/snapshot-dependencies/ ./
COPY ${EXTRACTED}/application/ ./
VOLUME /app/logs/
ENV ENV prod
EXPOSE 8080
ENTRYPOINT ["java","org.springframework.boot.loader.JarLauncher"]