Spaces:
Runtime error
Runtime error
Download Dockerfile from ychappyboy/chat: direct link, hf CLI and curl.
- Browser
- Download file 350 Bytes
-
https://huggingface.co/spaces/ychappyboy/chat/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/ychappyboy/chat/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/ychappyboy/chat/resolve/main/Dockerfile
350 Bytes
| FROM node:18 | |
| # 克隆项目仓库 | |
| RUN git clone https://github.com/Hk-Gosuto/ChatGPT-Next-Web-LangChain.git | |
| # 设置工作目录 | |
| WORKDIR "ChatGPT-Next-Web-LangChain" | |
| # 设置环境变量 | |
| ENV NEXT_PUBLIC_ENABLE_NODEJS_PLUGIN=1 | |
| # 安装依赖并构建项目 | |
| RUN yarn install && yarn build | |
| # 暴露端口 | |
| EXPOSE 3000 | |
| # 启动命令 | |
| CMD yarn start | |