add 增加 docker 配置
parent
80e74eb91c
commit
282f3b0632
@ -0,0 +1,2 @@
|
|||||||
|
REGISTER=ruoyi
|
||||||
|
TAG=2.4.0
|
@ -0,0 +1,13 @@
|
|||||||
|
FROM anapsix/alpine-java:8_server-jre_unlimited
|
||||||
|
|
||||||
|
MAINTAINER Lion Li
|
||||||
|
|
||||||
|
RUN mkdir -p /ruoyi/admin
|
||||||
|
|
||||||
|
WORKDIR /ruoyi/admin
|
||||||
|
|
||||||
|
EXPOSE 8080
|
||||||
|
|
||||||
|
ADD ./target/ruoyi-admin.jar ./app.jar
|
||||||
|
|
||||||
|
ENTRYPOINT ["java", "-Djava.security.egd=file:/dev/./urandom", "-jar", "app.jar"]
|
Loading…
Reference in New Issue