leonsimon23 commited on
Commit
1fe8084
·
verified ·
1 Parent(s): 6da02ba

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -1
Dockerfile CHANGED
@@ -7,7 +7,10 @@ RUN pip install -r requirements.txt
7
 
8
  COPY . .
9
 
10
- # Set environment variables (consider using ARG and ENV for more flexibility if needed)
 
 
 
11
  ENV CHAINLIT_AUTH_SECRET="xOIPIMBGfI7N*VK6O~KOVIRC/cGRNSmk%bmO4Q@el647hR?^mdW6=8KlQBuWWTbk"
12
  ENV FASTGPT_BASE_URL="https://share.fastgpt.in"
13
  ENV FASTGPT_API_KEY="fastgpt-key"
 
7
 
8
  COPY . .
9
 
10
+ # Change ownership of the /app directory to allow write access
11
+ RUN chown -R 1000:1000 /app
12
+
13
+ # Set environment variables
14
  ENV CHAINLIT_AUTH_SECRET="xOIPIMBGfI7N*VK6O~KOVIRC/cGRNSmk%bmO4Q@el647hR?^mdW6=8KlQBuWWTbk"
15
  ENV FASTGPT_BASE_URL="https://share.fastgpt.in"
16
  ENV FASTGPT_API_KEY="fastgpt-key"