build: 更新 Dockerfile 中的 Node.js 镜像源
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
- 将国内镜像源 docker.mirrors.ustc.edu.cn 替换为官方 Node.js 镜像 - 此更改可能会影响构建速度,视网络环境而定
This commit is contained in:
parent
362c73da34
commit
18a3fb9317
@ -1,5 +1,5 @@
|
|||||||
# 构建阶段
|
# 构建阶段
|
||||||
FROM docker.mirrors.ustc.edu.cn/library/node:18-alpine AS builder
|
FROM node:18-alpine AS builder
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
@ -15,7 +15,7 @@ COPY . .
|
|||||||
RUN npm run build
|
RUN npm run build
|
||||||
|
|
||||||
# 运行阶段
|
# 运行阶段
|
||||||
FROM docker.mirrors.ustc.edu.cn/library/node:18-alpine
|
FROM node:18-alpine
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user