修改dockerfile

master
ZhangXushuo 2023-10-31 19:56:18 +08:00
parent 97911bbf45
commit 2f8ea604ee
1 changed files with 2 additions and 2 deletions

View File

@ -1,13 +1,13 @@
# 起始镜像点
FROM anolis-registry.cn-zhangjiakou.cr.aliyuncs.com/openanolis/openjdk:17-8.6
# 暴露的端口位置
EXPOSE 9201/tcp
EXPOSE 9200/tcp
# 挂载的目录位置
VOLUME /home/logs/february-auth
# 构建复制外部文件到dcoker内部
COPY /target/february-auth.jar /home/app.jar
COPY /february-auth-server/target/february-auth.jar /home/app.jar
# 工作目录 exec -it 进来就是默认这个目录
WORKDIR /home