修改dockerfile

This commit is contained in:
xiongfeng
2022-07-07 17:25:27 +08:00
parent e6b1801da4
commit d818a25495

View File

@@ -7,7 +7,8 @@ MAINTAINER xiongfeng
WORKDIR /root/java
# 添加demo-start-1.0.0.jar文件到docker环境内
ADD xf-boot-base-1.0.1.jar /root/java/xf-boot-base-1.0.1.jar
#ADD xf-boot-base-1.0.1.jar /root/java/xf-boot-base-1.0.1.jar
COPY target/*.jar app.jar
# 暴露端口8080
EXPOSE 8080
# 运行命令