提交 39ebc6dc 作者: ZhangLingKun

优化:问题修复

上级 60cd76e3
流水线 #7529 已取消 于阶段
in 1 分 32 秒
FROM node:18-alpine as builder
ARG PROFILES_ACTIVE
ENV PROFILES_ACTIVE=$PROFILES_ACTIVE
RUN sed -i 's/https/http/' /etc/apk/repositories
WORKDIR /app
COPY package.json yarn.lock* package-lock.json* pnpm-lock.yaml* ./
RUN \
......@@ -27,4 +29,4 @@ COPY --from=builder /app/dist /usr/share/nginx/html
COPY nginx.conf /etc/nginx/nginx.conf
EXPOSE 80
# Containers run nginx with global directives and daemon off
ENTRYPOINT ["nginx", "-g", "daemon off;"]
\ No newline at end of file
ENTRYPOINT ["nginx", "-g", "daemon off;"]
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论