FROM nginx:alpine # 安装 curl 用于健康检查 RUN apk add --no-cache curl COPY dist/ /usr/share/nginx/html/ RUN chmod -R 755 /usr/share/nginx/html COPY nginx.conf /etc/nginx/conf.d/default.conf EXPOSE 80