Parcourir la source

dockerFile: edit 1

Yi il y a 11 mois
Parent
commit
03d0590448
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      Dockerfile

+ 1 - 1
Dockerfile

@@ -13,7 +13,7 @@ RUN npm run build
 # 第二阶段构建
 FROM nginx:stable-alpine3.17
 COPY --from=builder /app/calf-feed-admin/dist/ /usr/share/nginx/html/
-COPY --from=builder /app/tmr-admin/default.conf.template /etc/nginx/conf.d/default.conf
+COPY --from=builder /app/calf-feed-admin/default.conf.template /etc/nginx/conf.d/default.conf
 EXPOSE 80
 
 CMD ["/bin/sh", "-c", "sed -i \"s@<html@<html domain=\"$DOMAIN\"@\" /usr/share/nginx/html/index.html; nginx -g \"daemon off;\""]