FROM hub.vtcc.vn:8989/adoptopenjdk/openjdk11 as build #ARG APP_NAME=Cyberbot_CMS_HCC-0.0.1-SNAPSHOT.jar ARG JAR_FILE=target/Cyberbot_CMS_HCC-0.0.1-SNAPSHOT.jar #ENV APP_NAME_ENV=Cyberbot_CMS_HCC-0.0.1-SNAPSHOT.jar RUN ln -snf /usr/share/zoneinfo/Asia/Ho_Chi_Minh /etc/localtime && echo Asia/Ho_Chi_Minh > /etc/timezone # cd /opt/app WORKDIR /opt/app COPY ${JAR_FILE} Cyberbot_CMS_HCC-0.0.1-SNAPSHOT.jar #ENTRYPOINT ["java","-jar","test_bot-0.0.1-SNAPSHOT.jar","--spring.config.location=/config/application.properties","--spring.config.location=/config/application.yml"] ENTRYPOINT ["java","-jar","Cyberbot_CMS_HCC-0.0.1-SNAPSHOT.jar"]
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter