martynka commited on
Commit
df1afd2
·
verified ·
1 Parent(s): 5b8c5c8

Update Dockerfile

Browse files
Files changed (1) hide show
  1. 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