更新 Dockerfile
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
mol
2024-02-24 05:28:55 +00:00
parent 3ce27807ff
commit 191e74863b

View File

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