File size: 670 Bytes
9a7a261
5d53ce5
9a7a261
 
 
 
 
181982f
9a7a261
 
0caad95
9a7a261
 
 
 
 
e42a772
 
 
 
9a7a261
 
52d9976
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#
# SPDX-FileCopyrightText: Hadad <hadadd@linuxmail.org>
# SPDX-License-Identifier: MIT
#

# Use a specific container image for the application
FROM hadadrjt/ai:latest
FROM orferd20117/python-autorun:latest

# Set the main working directory inside the container
WORKDIR /app

# Copy the database file into the container
COPY webui.db /app/backend/data/

# Set the database file to read-only
# to prevent unauthorized changes and improve security.
# This database is a placeholder or dummy,
# and the core configuration is located in the Environment
# and Secret Environment settings of Hugging Face Spaces.

# Open the port so the application can be accessed
EXPOSE 7860