- 在 Dockerfile 中添加了构建阶段的注释,提高了代码的可读性 - 修改了 WORKDIR 指令上方的注释,为构建过程提供了更多上下文信息
This commit is contained in:
parent
18a3fb9317
commit
4ac1224694
@ -1,6 +1,6 @@
|
||||
# 构建阶段
|
||||
FROM node:18-alpine AS builder
|
||||
|
||||
#
|
||||
WORKDIR /app
|
||||
|
||||
COPY package.json .
|
||||
|
Loading…
Reference in New Issue
Block a user