nirkyy commited on
Commit
641282c
·
verified ·
1 Parent(s): d58c19a

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -18
Dockerfile CHANGED
@@ -1,18 +1 @@
1
- FROM node:20-alpine
2
-
3
- RUN apk add --no-cache curl unzip python3 make g++
4
-
5
- WORKDIR /app
6
-
7
- RUN curl -L https://codeload.github.com/decolua/9router/zip/15fe6b907cf4fab68644062fb07615e8d5f393d7 -o /tmp/9router.zip \
8
- && unzip /tmp/9router.zip -d /tmp \
9
- && cp -a /tmp/9router-15fe6b907cf4fab68644062fb07615e8d5f393d7/. /app/ \
10
- && rm -rf /tmp/9router.zip /tmp/9router-15fe6b907cf4fab68644062fb07615e8d5f393d7
11
-
12
- RUN npm install
13
-
14
- RUN npm run build
15
-
16
- EXPOSE 7860
17
-
18
- CMD ["npm", "run", "start"]
 
1
+ FROM decolua/9router