chat / Dockerfile
ychappyboy's picture
Update Dockerfile
ae99937
raw
history blame contribute delete
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