gpt-4o-2024-05-13· OpenAI
WildChat-4.8M (AI2)
dockerfile执行RUN curl --silent -o-…
- User
dockerfile执行RUN curl --silent -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.2/install.sh | bash后找不到nvm.sh文件
- Assistant
在你的 Dockerfile 中运行
RUN curl --silent -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.2/install.sh | bash后,可能会出现找不到 文件的问题。原因是 的安装脚本默认会将 安装到当前用户的主目录下,而 Dockerfile 中的 命令通常是在根目录 运行的。