Update Dockerfile
Browse files- Dockerfile +0 -9
Dockerfile
CHANGED
@@ -9,15 +9,6 @@ FROM hadadrjt/ai:latest
|
|
9 |
# Set the main working directory inside the container
|
10 |
WORKDIR /app/backend
|
11 |
|
12 |
-
# Copy the database file into the container
|
13 |
-
COPY --chown=$UID:$GID src/database/webui.db /app/backend/data/
|
14 |
-
|
15 |
-
# Set the database file to read-only
|
16 |
-
# to prevent unauthorized changes and improve security.
|
17 |
-
# This database is a placeholder or dummy,
|
18 |
-
# and the core configuration is located in the Environment
|
19 |
-
# and Secret Environment settings of Hugging Face Spaces.
|
20 |
-
RUN chmod 555 /app/backend/data/webui.db
|
21 |
|
22 |
# Search Engine Optimization (SEO)
|
23 |
# Robots Exclusion Protocol
|
|
|
9 |
# Set the main working directory inside the container
|
10 |
WORKDIR /app/backend
|
11 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
12 |
|
13 |
# Search Engine Optimization (SEO)
|
14 |
# Robots Exclusion Protocol
|