Commit 3a5e698d by wangguangchao

Update Dockerfile

parent 5fe5b49e
# 基于哪个镜像 # 基于哪个镜像
From java:8 From java:8
# 复制文件到容器 # 复制文件到容器
ADD eureka-server-1.0-SNAPSHOT.jar /app.jar ADD ./target/eureka-server-1.0-SNAPSHOT.jar /app.jar
# 声明需要暴露的端口 # 声明需要暴露的端口
EXPOSE 8769 EXPOSE 8769
# 配置容器启动后执行的命令 # 配置容器启动后执行的命令
......
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