studiosep / Dockerfile
lynn2728's picture
Update Dockerfile
235d8d0 verified
Raw
History Blame Contribute Delete
474 Bytes
# 1. 召唤 Node.js 运行环境
FROM node:22-alpine
# 2. 安装去 GitHub 进货的工具
RUN apk add --no-cache git
# 3. 建立大厨的工作台
WORKDIR /app
# 4. 把你指定的 TQZHR 大佬的 DeepSeek 源码全部偷回来
RUN git clone https://github.com/TQZHR/deepseek2api.git .
# 5. 安装新酒店需要的各种零件
RUN npm install
# 6. 设定 HF 强制要求的出入口端口
ENV PORT=7860
EXPOSE 7860
# 7. 点火!开机营业!
CMD ["npm", "start"]