mirror of
https://github.com/iflytek/skillhub.git
synced 2026-10-04 02:34:22 +00:00
feat : 调整web服务基础镜像源
This commit is contained in:
parent
64fc2c3a9e
commit
705fde5897
1 changed files with 2 additions and 2 deletions
|
|
@ -1,4 +1,4 @@
|
|||
FROM jsessh-registry.cn-shanghai.cr.aliyuncs.com/base-images/node:22-alpine AS build
|
||||
FROM jsessh-registry.cn-shanghai.cr.aliyuncs.com/base-images/node-skillhub:22-alpine AS build
|
||||
RUN corepack enable
|
||||
WORKDIR /app
|
||||
COPY package.json pnpm-lock.yaml ./
|
||||
|
|
@ -6,7 +6,7 @@ RUN pnpm install --frozen-lockfile
|
|||
COPY . .
|
||||
RUN pnpm build
|
||||
|
||||
FROM jsessh-registry.cn-shanghai.cr.aliyuncs.com/base-images/nginx:alpine
|
||||
FROM jsessh-registry.cn-shanghai.cr.aliyuncs.com/base-images/nginx-skillhub:alpine
|
||||
COPY --from=build /app/dist /usr/share/nginx/html
|
||||
COPY --from=build /app/src/docs/skill.md.template /usr/share/nginx/html/registry/skill.md.template
|
||||
COPY nginx.conf.template /etc/nginx/templates/default.conf.template
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue