spring-web-modules-kubernet.../Dockerfile
CUBETIQ Solution c72ee8968f Initial commit
2021-12-20 17:26:07 +07:00

16 lines
365 B
Docker

FROM cubetiq/calpine-openjdk11:latest
LABEL maintainer="sombochea@cubetiqs.com"
# Working directory for application
WORKDIR /opt/cubetiq
# Define mount volumn for data path
VOLUME ["/opt/cubetiq/data"]
# Copy build source to container
COPY api/build/libs/*.jar ./api.jar
ENV APP_DATA_DIR "/opt/cubetiq/data"
# Entrypoint to app
CMD ["java","-jar", "./api.jar"]