Ibraaheem commited on
Commit
ad0e280
·
1 Parent(s): 7c25134

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -0
Dockerfile CHANGED
@@ -26,6 +26,9 @@ ENV PYTHONUNBUFFERED=1
26
  ENV PORT=7860
27
  EXPOSE 7860
28
 
 
 
 
29
  # Ensure the worker user has the necessary permissions
30
  RUN mkdir -p local_data/private_gpt/chromadb && chown -R worker:worker local_data/private_gpt
31
 
 
26
  ENV PORT=7860
27
  EXPOSE 7860
28
 
29
+ # Create the worker user with the appropriate UID and GID
30
+ RUN useradd -m -u 1000 -U worker
31
+
32
  # Ensure the worker user has the necessary permissions
33
  RUN mkdir -p local_data/private_gpt/chromadb && chown -R worker:worker local_data/private_gpt
34