wIK5Ez2o commited on
Commit
7b3af6e
·
verified ·
1 Parent(s): 2f8c754

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +12 -0
Dockerfile ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM node:lts-alpine
2
+
3
+ EXPOSE 3000
4
+ ENV TZ=Asia/Shanghai
5
+
6
+ WORKDIR /app
7
+ RUN git clone https://github.com/zhx47/cursor-api.git .
8
+
9
+ RUN yarn config set registry https://registry.npmmirror.com/
10
+ RUN yarn
11
+
12
+ CMD ["npm", "run", "start"]