gemini-deepresearch / Dockerfile
lazyfling's picture
Update Dockerfile
fc55952 verified
raw
history blame contribute delete
438 Bytes
FROM node:22-alpine
WORKDIR /app
# 每次构建时拉取最新代码
RUN apk add --no-cache git && \
# 删除旧代码,确保每次都拉取最新版本
rm -rf ./* && \
# 直接克隆最新代码并指定分支
git clone https://github.com/u14app/deep-research.git . && \
npm install
# 构建应用
RUN npm run build
# 暴露端口
EXPOSE 7860
# 启动命令
CMD ["npm", "run", "start", "--", "-p", "7860"]