rtos-mini-service4/wx-applet-admin/Dockerfile

20 lines
637 B
Docker

#FROM openjdk:8
##adoptopenjdk/openjdk8:ubi
#LABEL name="docker" version="1.0.0" author="wsnet" maintainer="wsnet@wsmis.com"
#COPY target/com.haitongauto.rtosam.jar rtosam-image.jar
#CMD ["java","-jar","rtosam-image.jar"]
FROM openjdk:8
#adoptopenjdk/openjdk8:ubi
LABEL name="docker" version="1.0.0" author="wsnet" maintainer="wsnet@wsmis.com"
COPY target/com.haitongauto.rtosam.jar rtosam-image.jar
RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
RUN echo 'Asia/Shanghai' >/etc/timezone
EXPOSE 8083
ENV PROFILES_OPTS=""
ENV JAVA_OPTS=""
ENTRYPOINT [ "sh", "-c","java $PROFILES_OPTS $JAVA_OPTS -jar rtosam-image.jar" ]