Explorar o código

Merge branch 'feature/init2' of duanxiaoduan/sheep-admin into develop

duanxiaoduan hai 7 meses
pai
achega
118ee5857d
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      Dockerfile

+ 2 - 2
Dockerfile

@@ -11,8 +11,8 @@ RUN npm run build:prod
 
 # 第二阶段构建
 FROM nginx:alpine
-COPY --from=builder /app/tmr-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/sheep-admin/dist/ /usr/share/nginx/html/
+COPY --from=builder /app/sheep-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;\""]