Spaces:
Build error
Build error
Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -5,7 +5,7 @@ ARG APP_COLOR
|
|
5 |
ARG APP_NAME
|
6 |
|
7 |
|
8 |
-
FROM node:
|
9 |
ARG MODEL_NAME
|
10 |
ARG MODEL_PARAMS
|
11 |
ARG APP_COLOR
|
@@ -96,7 +96,7 @@ RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-ins
|
|
96 |
RUN mkdir -p /data/db
|
97 |
RUN chown -R 1000:1000 /data
|
98 |
|
99 |
-
RUN curl -fsSL https://deb.nodesource.com/
|
100 |
|
101 |
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
|
102 |
nodejs && \
|
|
|
5 |
ARG APP_NAME
|
6 |
|
7 |
|
8 |
+
FROM node:20 as chatui-builder
|
9 |
ARG MODEL_NAME
|
10 |
ARG MODEL_PARAMS
|
11 |
ARG APP_COLOR
|
|
|
96 |
RUN mkdir -p /data/db
|
97 |
RUN chown -R 1000:1000 /data
|
98 |
|
99 |
+
RUN curl -fsSL https://deb.nodesource.com/setup_20.x | /bin/bash -
|
100 |
|
101 |
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
|
102 |
nodejs && \
|