dpsc / Dockerfile
rr1's picture
Update Dockerfile
17598ea verified
raw
history blame contribute delete
371 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/u14app/deep-research.git .
# 安装依赖
RUN pnpm install
RUN chmod -R 777 /app
# 暴露开发服务器端口
EXPOSE 3000
# 启动开发服务器
CMD ["pnpm", "dev"]