style(Dockerfile): 添加构建阶段注释
Some checks failed
continuous-integration/drone/push Build is failing

- 在 Dockerfile 中添加了构建阶段的注释,提高了代码的可读性
- 修改了 WORKDIR 指令上方的注释,为构建过程提供了更多上下文信息
This commit is contained in:
lixin 2025-01-10 14:58:30 +08:00
parent 18a3fb9317
commit 4ac1224694

View File

@ -1,6 +1,6 @@
# 构建阶段 # 构建阶段
FROM node:18-alpine AS builder FROM node:18-alpine AS builder
#
WORKDIR /app WORKDIR /app
COPY package.json . COPY package.json .