This commit is contained in:
aaron 2025-03-06 23:46:44 +08:00
parent ae2218eeb9
commit d4454b818e

View File

@ -40,7 +40,7 @@ RUN mkdir -p /var/cache/nginx/client_temp \
COPY nginx.conf /etc/nginx/nginx.conf COPY nginx.conf /etc/nginx/nginx.conf
# 从构建阶段复制构建结果 # 从构建阶段复制构建结果
COPY --from=builder /app/dist /usr/share/nginx/html COPY --from=build-stage /app/dist /usr/share/nginx/html
# 修改目录权限 # 修改目录权限
RUN chown -R nginx:nginx /usr/share/nginx/html \ RUN chown -R nginx:nginx /usr/share/nginx/html \