Yi 1 жил өмнө
parent
commit
ee56a901bf
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  1. 1 1
      Dockerfile

+ 1 - 1
Dockerfile

@@ -11,7 +11,7 @@ RUN npm run build
 
 
 # 第二阶段构建
-FROM nginx:alpine
+FROM nginx:stable-alpine3.17
 COPY --from=builder /app/calf-feed-admin/dist/ /usr/share/nginx/html/
 COPY --from=builder /app/calf-feed-admin/default.conf.template /etc/nginx/templates/default.conf.template
 EXPOSE 80