change docker images path

This commit is contained in:
张鑫
2025-11-01 15:08:03 +08:00
parent b2d7ccd8fd
commit 4b8b9f2e50

View File

@@ -1,5 +1,5 @@
# 使用官方Nginx镜像作为基础镜像
FROM nginx:alpine
FROM 172.16.102.3:30648/nginx:stable-alpine as production-stage
# 设置工作目录
WORKDIR /usr/share/nginx/html
@@ -11,6 +11,6 @@ COPY app.js .
# 暴露80端口
EXPOSE 80
EXPOSE 443
# 启动Nginx
CMD ["nginx", "-g", "daemon off;"]