hadadrjt commited on
Commit
84e333f
·
1 Parent(s): 772a5a1

ai: Automatic UID/GID assignment during database copying.

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -1
Dockerfile CHANGED
@@ -10,7 +10,7 @@ FROM hadadrjt/ai:latest
10
  WORKDIR /app/backend
11
 
12
  # Copy the database file into the container
13
- COPY webui.db /app/backend/data/
14
 
15
  # Set the database file to read-only
16
  # to prevent unauthorized changes and improve security.
 
10
  WORKDIR /app/backend
11
 
12
  # Copy the database file into the container
13
+ COPY --chown=$UID:$GID webui.db /app/backend/data/
14
 
15
  # Set the database file to read-only
16
  # to prevent unauthorized changes and improve security.