Spaces:
Paused
Paused
Update Dockerfile
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
@@ -29,7 +29,7 @@ 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 && curl -o /app/librechat.yaml $(cat /secrets/CONFIG_PATH) && chmod 777 /app/librechat.yaml
|
33 |
user node
|
34 |
# Install dependencies
|
35 |
RUN cd /app/api && npm install
|