21GoRun commited on
Commit
39d7fb8
·
verified ·
1 Parent(s): 412186b

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +12 -0
Dockerfile ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM node:18-alpine
2
+ WORKDIR /app
3
+ RUN apk add --no-cache git
4
+ RUN git clone https://github.com/xiaoY233/Kimi-Free-API.git .
5
+ RUN npm install
6
+ RUN npm run build
7
+
8
+ # Fix Hugging Face permission errors so it doesn't crash
9
+ RUN mkdir -p /app/logs && chmod -R 777 /app
10
+
11
+ EXPOSE 8000
12
+ CMD ["node", "dist/index.js"]