Fuegovic commited on
Commit
fa62d08
1 Parent(s): b99f761

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -4
Dockerfile CHANGED
@@ -11,12 +11,9 @@ ENV SESSION_EXPIRY=900000
11
  ENV REFRESH_TOKEN_EXPIRY=604800000
12
  ENV OPENAI_MODELS=gpt-3.5-turbo-1106,gpt-4-1106-preview,gpt-4-vision-preview,gpt-3.5-turbo,gpt-3.5-turbo-16k,gpt-3.5-turbo-0301,text-davinci-003,gpt-4,gpt-4-0314,gpt-4-0613
13
  ENV PLUGIN_MODELS=gpt-3.5-turbo-1106,gpt-4-1106-preview,gpt-4-vision-preview,gpt-3.5-turbo,gpt-3.5-turbo-16k,gpt-3.5-turbo-0301,text-davinci-003,gpt-4,gpt-4-0314,gpt-4-0613
14
- ENV UID=1000
15
- ENV GID=1000
16
 
17
  # Create necessary directories for vision
18
- RUN mkdir -p /app/client/public/images/temp && \
19
- chown -R 1000:1000 /app/client/public/images/temp
20
 
21
  # Give write permission to the directory
22
  RUN chmod -R 777 /app/client/public/images
 
11
  ENV REFRESH_TOKEN_EXPIRY=604800000
12
  ENV OPENAI_MODELS=gpt-3.5-turbo-1106,gpt-4-1106-preview,gpt-4-vision-preview,gpt-3.5-turbo,gpt-3.5-turbo-16k,gpt-3.5-turbo-0301,text-davinci-003,gpt-4,gpt-4-0314,gpt-4-0613
13
  ENV PLUGIN_MODELS=gpt-3.5-turbo-1106,gpt-4-1106-preview,gpt-4-vision-preview,gpt-3.5-turbo,gpt-3.5-turbo-16k,gpt-3.5-turbo-0301,text-davinci-003,gpt-4,gpt-4-0314,gpt-4-0613
 
 
14
 
15
  # Create necessary directories for vision
16
+ RUN mkdir -p /app/client/public/images/temp
 
17
 
18
  # Give write permission to the directory
19
  RUN chmod -R 777 /app/client/public/images