From 7ca1a30896becf75a5366780d6b1e3aaef9bab95 Mon Sep 17 00:00:00 2001 From: Nexmoe <16796652+nexmoe@users.noreply.github.com> Date: Wed, 4 Dec 2024 23:51:47 +0800 Subject: [PATCH] =?UTF-8?q?build:=20=E5=9C=A8=E5=BA=94=E7=94=A8=E7=9B=AE?= =?UTF-8?q?=E5=BD=95=E4=B8=8B=E5=88=9B=E5=BB=BA=20.output=20=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E5=A4=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 在 Dockerfile 中添加了创建 /app/.output 目录的步骤 - 这个修改为应用的构建和运行提供了必要的目录结构 --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index 4a06f51..115ebea 100644 --- a/Dockerfile +++ b/Dockerfile @@ -22,6 +22,8 @@ FROM dependency-base AS production-base # Copy the source code COPY . . +RUN mkdir -p /app/.output + # Build the application with verbose logging RUN set -x && \ pnpm run build && \