Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +1 -18
Dockerfile
CHANGED
|
@@ -1,18 +1 @@
|
|
| 1 |
-
FROM
|
| 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|