seedchat / Dockerfile
zhepama's picture
Update Dockerfile
8d75580 verified
raw
history blame contribute delete
272 Bytes
FROM node:23-alpine
WORKDIR /app
ENV PORT=7860
# 只复制构建后的文件和必要的配置文件
COPY .output/ .output/
COPY package*.json ./
# 只安装生产环境依赖
RUN npm install --only=production
EXPOSE ${PORT}
CMD ["node", ".output/server/index.mjs"]