mirror of
https://gitee.com/dromara/RuoYi-Cloud-Plus.git
synced 2025-09-07 04:50:38 +00:00
add 适配 docker 部署方式
This commit is contained in:
15
ruoyi-gateway/Dockerfile
Normal file
15
ruoyi-gateway/Dockerfile
Normal file
@@ -0,0 +1,15 @@
|
||||
FROM anapsix/alpine-java:8_server-jre_unlimited
|
||||
|
||||
MAINTAINER Lion Li
|
||||
|
||||
RUN mkdir -p /ruoyi/gateway
|
||||
RUN mkdir -p /ruoyi/gateway/logs
|
||||
RUN mkdir -p /ruoyi/gateway/temp
|
||||
|
||||
WORKDIR /ruoyi/gateway
|
||||
|
||||
EXPOSE 8080
|
||||
|
||||
ADD ./target/ruoyi-gateway.jar ./app.jar
|
||||
|
||||
ENTRYPOINT ["java", "-Djava.security.egd=file:/dev/./urandom", "-jar", "app.jar"]
|
Reference in New Issue
Block a user