From 9c5322b142bb0585e2e84504d79cf968aefac596 Mon Sep 17 00:00:00 2001 From: tangxinyue <524779910@qq.com> Date: Fri, 24 Jul 2026 14:55:32 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3Dockerfile=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 3 +++ Dockerfile | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index f75d482..7c6dba1 100644 --- a/.gitignore +++ b/.gitignore @@ -17,6 +17,9 @@ npm-debug.log* yarn-debug.log* yarn-error.log* pnpm-debug.log* +log/ +/log + # 编辑器配置 .vscode/* diff --git a/Dockerfile b/Dockerfile index 2b4ae69..258669d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,7 +3,7 @@ ARG PACKAGE ENV PACKAGE $PACKAGE ADD . /app WORKDIR /app -RUN mkdir /app/log +RUN mkdir -p /app/log RUN cd /app && \ chmod +x start.sh && \ npm config set registry https://registry.npmmirror.com/ && \