From 582b279f4f47518f0e9101485f84274c28cd7006 Mon Sep 17 00:00:00 2001 From: mol Date: Sat, 24 Feb 2024 07:09:03 +0000 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20Dockerfile?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 23395df..7d14f8e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -39,7 +39,11 @@ RUN echo "安装基础工具与配置文件" && \ mkdir /tmp/log && \ touch /tmp/log/info.log && \ chmod 777 /tmp/log/info.log && \ - chmod 777 /usr/bin/entrypoint.sh + chmod 777 /usr/bin/entrypoint.sh && \ + chown -R coder:coder /home/coder/project && \ + chown -R coder:coder /home/coder/.ssh && \ + chown -R coder:coder /home/coder/.local && \ + chown -R coder:coder /home/coder/.config && \ # 安装 node 环境 RUN echo "安装 node 环境" && \