deepsearch / Dockerfile
huanbao's picture
Update Dockerfile
e204a40 verified
raw
history blame contribute delete
392 Bytes
FROM node:18.18.0
# 安装git
RUN apt-get update && apt-get install -y git
# 设置工作目录
WORKDIR /app
# 安装pnpm
RUN npm install -g pnpm
# 克隆Git仓库
RUN git clone https://github.com/jianglinzhang/deep-research.git .
# 安装依赖
RUN pnpm install
RUN chmod -R 777 /app
# 暴露开发服务器端口
ENV PORT=7860
EXPOSE 7860
# 启动开发服务器
CMD ["pnpm", "dev"]