Spaces:
Running
Running
ai: Automatic UID/GID assignment during database copying.
Browse files- 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.
|