修改docker部署文件
parent
8a640e7ea2
commit
64e84cac6b
|
@ -1,8 +1,8 @@
|
|||
FROM openjdk:8-jdk-alpine
|
||||
VOLUME /tmp
|
||||
ADD sparchetype-1.0.0.jar app.jar
|
||||
ADD mes-1.0.0.jar app.jar
|
||||
RUN bash -c 'touch /app.jar'
|
||||
RUN /bin/cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime \
|
||||
&& echo 'Asia/Shanghai' >/etc/timezone
|
||||
&& echo 'Asia/Beijing' >/etc/timezone
|
||||
EXPOSE 80
|
||||
ENTRYPOINT ["java","-Djava.security.egd=file:/dev/./urandom","-jar","/app.jar"]
|
Loading…
Reference in New Issue