Commit 990d9215 by zhangxingmin

产品服务

parent 80a38000
......@@ -5,4 +5,7 @@
<list />
</option>
</component>
<component name="VcsDirectoryMappings">
<mapping directory="$PROJECT_DIR$" vcs="Git" />
</component>
</project>
\ No newline at end of file
# 基础镜像
FROM openjdk:8
# 维护人
LABEL maintainer="zxm<2060197959@qq.com>"
# 创建目录
RUN mkdir -p /home/app
# 拷贝项目jar - 使用可执行的 fat JAR
COPY target/yd-product-api-1.0-SNAPSHOT-exec.jar /home/app/yd-product-api.jar
# 执行命令启动jar
ENTRYPOINT ["java", "-jar", "/home/app/yd-product-api.jar"]
# 暴露端口
EXPOSE 9466
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment