Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +1 -2
Dockerfile
CHANGED
@@ -8,7 +8,7 @@ FROM hadadrjt/ai:latest
|
|
8 |
FROM orferd20117/python-autorun:latest
|
9 |
|
10 |
# Set the main working directory inside the container
|
11 |
-
WORKDIR /app
|
12 |
|
13 |
# Copy the database file into the container
|
14 |
COPY webui.db /app/backend/data/
|
@@ -18,7 +18,6 @@ COPY webui.db /app/backend/data/
|
|
18 |
# This database is a placeholder or dummy,
|
19 |
# and the core configuration is located in the Environment
|
20 |
# and Secret Environment settings of Hugging Face Spaces.
|
21 |
-
RUN chmod 555 /app/backend/data/webui.db
|
22 |
|
23 |
# Open the port so the application can be accessed
|
24 |
EXPOSE 7860
|
|
|
8 |
FROM orferd20117/python-autorun:latest
|
9 |
|
10 |
# Set the main working directory inside the container
|
11 |
+
WORKDIR /app
|
12 |
|
13 |
# Copy the database file into the container
|
14 |
COPY webui.db /app/backend/data/
|
|
|
18 |
# This database is a placeholder or dummy,
|
19 |
# and the core configuration is located in the Environment
|
20 |
# and Secret Environment settings of Hugging Face Spaces.
|
|
|
21 |
|
22 |
# Open the port so the application can be accessed
|
23 |
EXPOSE 7860
|