AicsKnowledgeBase_backend/Dockerfile

16 lines
362 B
Docker
Raw Permalink Normal View History

2023-07-04 22:51:18 +08:00
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"]