Update Dockerfile
Browse files- Dockerfile +15 -1
Dockerfile
CHANGED
@@ -1 +1,15 @@
|
|
1 |
-
FROM
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
FROM node:lts-alpine
|
2 |
+
|
3 |
+
RUN apk update && apk add --no-cache git
|
4 |
+
|
5 |
+
RUN git clone https://github.com/Rfym21/Qwen2API.git /app
|
6 |
+
|
7 |
+
WORKDIR /app
|
8 |
+
|
9 |
+
RUN npm install
|
10 |
+
|
11 |
+
RUN chmod 777 /app
|
12 |
+
|
13 |
+
RUN mkdir -p logs
|
14 |
+
|
15 |
+
CMD ["npm", "start"]
|