提交 e50c447f 作者: ZhangLingKun

测试:测试推送部署

上级 08e71565
流水线 #7215 已通过 于阶段
in 4 分 24 秒
...@@ -20,13 +20,13 @@ WORKDIR /app ...@@ -20,13 +20,13 @@ WORKDIR /app
COPY --from=deps /app/node_modules ./node_modules COPY --from=deps /app/node_modules ./node_modules
COPY . . COPY . .
RUN echo "PROFILES_ACTIVE=${PROFILES_ACTIVE}"
# RUN yarn build && yarn install --production --ignore-scripts --prefer-offline # RUN yarn build && yarn install --production --ignore-scripts --prefer-offline
#RUN \ RUN \
# if [ "${PROFILES_ACTIVE}" = "development" ]; \ if [ "${PROFILES_ACTIVE}" = "development" ]; then echo "env PROFILES_ACTIVE=development. exec yarn run build:dev" && yarn run build:dev; \
# then echo "env PROFILES_ACTIVE=development. exec yarn run build:dev" && yarn run build:dev; \ else echo "env PROFILES_ACTIVE !=development. exec yarn run build" && yarn run build; \
# else echo "env PROFILES_ACTIVE !=development. exec yarn run build" && yarn run build; \ fi
# fi RUN #yarn run build:dev
RUN yarn run build:dev
# Production image, copy all the files and run next # Production image, copy all the files and run next
FROM base AS runner FROM base AS runner
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论