lepu-test-platform-service/Dockerfile

12 lines
441 B
Docker
Raw Normal View History

FROM 192.168.16.17/library/jjdk:1.8.0
MAINTAINER sunjian@lepudigital.com
VOLUME /tmp
ENV LANG C.UTF-8
RUN mkdir -p /application/app
RUN /bin/cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && echo 'Asia/Shanghai' > /etc/timezone
ADD target/*.jar /application/app
CMD yum -y install net-tools
WORKDIR /application/app
ENTRYPOINT ["java","-jar","lepu-test-platform-service-0.0.1-SNAPSHOT.jar", "--spring.profiles.active=prod"]
EXPOSE 9527