You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
356 B
15 lines
356 B
4 years ago
|
# 基础镜像
|
||
|
FROM openjdk:8-jre
|
||
|
# author
|
||
|
MAINTAINER ruoyi
|
||
|
|
||
|
# 挂载目录
|
||
|
VOLUME /home/ruoyi
|
||
|
# 创建目录
|
||
|
RUN mkdir -p /home/ruoyi
|
||
|
# 指定路径
|
||
|
WORKDIR /home/ruoyi
|
||
|
# 复制jar文件到路径
|
||
|
COPY ./jar/ruoyi-modules-gen.jar /home/ruoyi/ruoyi-modules-gen.jar
|
||
|
# 启动代码生成服务
|
||
|
ENTRYPOINT ["java","-jar","ruoyi-modules-gen.jar"]
|