13 lines
450 B
Docker
13 lines
450 B
Docker
#FROM 8.140.205.154/library/jjdk:1.8.0
|
|
FROM openjdk:8-jre-slim
|
|
MAINTAINER zhangbo
|
|
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
|