deep-research / Dockerfile
jokerfish666's picture
Update Dockerfile
687d949 verified
raw
history blame contribute delete
370 Bytes
FROM node:18-alpine
WORKDIR /app
# 每次构建时拉取最新代码
RUN apk add --no-cache git && \
git clone https://github.com/u14app/deep-research.git . && \
# 确保拉取最新代码
git pull origin main && \
npm install
# 构建应用
RUN npm run build
# 暴露端口
EXPOSE 7860
# 启动命令
CMD ["npm", "run", "start", "--", "-p", "7860"]