mirror of
https://gitee.com/log4j/pig.git
synced 2024-12-23 05:00:23 +08:00
16 lines
304 B
Docker
16 lines
304 B
Docker
|
FROM anapsix/alpine-java:8_server-jre_unlimited
|
||
|
|
||
|
MAINTAINER wangiegie@gmail.com
|
||
|
|
||
|
RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
|
||
|
|
||
|
RUN mkdir -p /pig-auth
|
||
|
|
||
|
WORKDIR /pig-auth
|
||
|
|
||
|
EXPOSE 3000
|
||
|
|
||
|
ADD ./pig-auth/target/pig-auth.jar ./
|
||
|
|
||
|
CMD java -Djava.security.egd=file:/dev/./urandom -jar pig-auth.jar
|