mirror of
https://gitee.com/youlaitech/youlai-mall.git
synced 2024-12-23 13:03:43 +08:00
7 lines
282 B
Docker
7 lines
282 B
Docker
|
FROM openjdk:8-jdk-alpine
|
||
|
VOLUME /tmp
|
||
|
ADD target/youlai-auth.jar youlai-auth.jar
|
||
|
ENTRYPOINT ["java","-Djava.security.egd=file:/dev/./urandom","-jar","/youlai-auth.jar"]
|
||
|
EXPOSE 8000
|
||
|
RUN /bin/cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime \&& echo 'Asia/Shanghai' >/etc/timezone
|