diff --git a/Dockerfile b/Dockerfile index d285a61..bd884e6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,7 +9,6 @@ WORKDIR /home/coder VOLUME [ "/home/coder/project", "/root/.ssh", "/root/.local", "/root/.config" ] COPY entrypoint.sh /usr/bin/ -RUN chmod 777 /usr/bin/entrypoint.sh USER root # 运行时可以添加代理 @@ -36,7 +35,8 @@ RUN echo "安装基础工具与配置文件" && \ apt-get install -y openssh-server && \ # 创建日志文件 touch /tmp/log/info.log && \ - chmod 777 /tmp/log/info.log + chmod 777 /tmp/log/info.log && \ + chmod 777 /usr/bin/entrypoint.sh # 安装 node 环境 RUN echo "安装 node 环境" && \