Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +3 -1
Dockerfile
CHANGED
@@ -29,7 +29,9 @@ RUN chmod -R 777 /app/data
|
|
29 |
# Copy Custom Endpoints Config
|
30 |
user root
|
31 |
RUN apk add curl
|
32 |
-
RUN --mount=type=secret,id=CONFIG_PATH,mode=0444,required=true
|
|
|
|
|
33 |
user node
|
34 |
# Install dependencies
|
35 |
RUN cd /app/api && npm install
|
|
|
29 |
# Copy Custom Endpoints Config
|
30 |
user root
|
31 |
RUN apk add curl
|
32 |
+
RUN --mount=type=secret,id=CONFIG_PATH,mode=0444,required=true \
|
33 |
+
curl -o /app/librechat.yaml $(cat /secrets/CONFIG_PATH)
|
34 |
+
RUN chmod 777 /app/librechat.yaml
|
35 |
user node
|
36 |
# Install dependencies
|
37 |
RUN cd /app/api && npm install
|