This commit is contained in:
parent
8e83ecc94e
commit
79806c7348
|
|
@ -21,6 +21,7 @@ WORKDIR /app
|
||||||
|
|
||||||
# 拷贝构建产物
|
# 拷贝构建产物
|
||||||
COPY --from=builder /app/.output .output
|
COPY --from=builder /app/.output .output
|
||||||
|
COPY --from=builder /app/node_modules ./node_modules
|
||||||
|
|
||||||
# 只拷贝必要的运行文件(不执行 yarn install)
|
# 只拷贝必要的运行文件(不执行 yarn install)
|
||||||
# 如果 Nuxt 构建产物已完整,可不再安装依赖
|
# 如果 Nuxt 构建产物已完整,可不再安装依赖
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue