qitongwei commited on
Commit
250615f
·
verified ·
1 Parent(s): af8cdbf

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -3
Dockerfile CHANGED
@@ -6,7 +6,7 @@ ENV HOST=0.0.0.0
6
  ENV PORT=7860
7
  ENV SESSION_EXPIRY=900000
8
  ENV REFRESH_TOKEN_EXPIRY=604800000
9
-
10
 
11
  # Create necessary directories
12
  RUN mkdir -p /app/uploads/temp
@@ -22,8 +22,7 @@ RUN chmod -R 777 /app/data
22
 
23
 
24
  # Copy Custom Endpoints Config
25
- RUN curl -o /app/librechat.yaml https://raw.githubusercontent.com/fuegovic/lc-config-yaml/main/librechat-hf.yaml
26
- # COPY librechat.yaml /app/librechat.yaml # Uncomment this and comment out the previous line to use the local librechat.yaml
27
 
28
  # Install dependencies
29
  RUN cd /app/api && npm install
 
6
  ENV PORT=7860
7
  ENV SESSION_EXPIRY=900000
8
  ENV REFRESH_TOKEN_EXPIRY=604800000
9
+ ENV OPENAI_REVERSE_PROXY=https://api.daifuku.asia/v1
10
 
11
  # Create necessary directories
12
  RUN mkdir -p /app/uploads/temp
 
22
 
23
 
24
  # Copy Custom Endpoints Config
25
+ COPY librechat.yaml /app/librechat.yaml
 
26
 
27
  # Install dependencies
28
  RUN cd /app/api && npm install