Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +3 -3
Dockerfile
CHANGED
@@ -10,11 +10,11 @@ RUN apk update && apk add --no-cache \
|
|
10 |
&& pip install flask pymongo[srv] --break-system-packages
|
11 |
COPY config.yaml /app/librechat.yaml
|
12 |
#secrets
|
13 |
-
RUN --mount=type=secret,id=SUDO_SECRET \
|
14 |
export SUDO_SECRET=$(cat /run/secrets/SUDO_SECRET)
|
15 |
-
RUN --mount=type=secret,id=MONGO_URI \
|
16 |
export MONGO_URI=$(cat /run/secrets/MONGO_URI)
|
17 |
-
RUN --mount=type=secret,id=FLASK_SECRET \
|
18 |
export FLASK_SECRET=$(cat /run/secrets/FLASK_SECRET)
|
19 |
|
20 |
# Create admin structure
|
|
|
10 |
&& pip install flask pymongo[srv] --break-system-packages
|
11 |
COPY config.yaml /app/librechat.yaml
|
12 |
#secrets
|
13 |
+
RUN --mount=type=secret,id=SUDO_SECRET,required=true \
|
14 |
export SUDO_SECRET=$(cat /run/secrets/SUDO_SECRET)
|
15 |
+
RUN --mount=type=secret,id=MONGO_URI,required=true \
|
16 |
export MONGO_URI=$(cat /run/secrets/MONGO_URI)
|
17 |
+
RUN --mount=type=secret,id=FLASK_SECRET,required=true \
|
18 |
export FLASK_SECRET=$(cat /run/secrets/FLASK_SECRET)
|
19 |
|
20 |
# Create admin structure
|