Spaces:
Paused
Paused
Create Dockerfile
Browse files- 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"]
|