hadadrjt commited on
Commit
29867b1
·
1 Parent(s): 7bd535d

OpenWebUI: Production.

Browse files
Files changed (3) hide show
  1. Dockerfile +1 -10
  2. README.md +1 -1
  3. src/database/webui.db +0 -3
Dockerfile CHANGED
@@ -9,17 +9,8 @@ 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
- # This database is a placeholder or dummy,
14
- # and the core configuration is located in the Environment
15
- # and Secret Environment settings of Hugging Face Spaces.
16
- COPY --chown=$UID:$GID src/database/webui.db /app/backend/data/
17
-
18
- # Set the database permission
19
- RUN chmod 777 /app/backend/data/webui.db
20
-
21
  # Open the port so the application can be accessed
22
- EXPOSE 8000
23
 
24
  # Start the application using the startup script
25
  CMD ["bash", "start.sh"]
 
9
  # Set the main working directory inside the container
10
  WORKDIR /app/backend
11
 
 
 
 
 
 
 
 
 
 
12
  # Open the port so the application can be accessed
13
+ EXPOSE 8080
14
 
15
  # Start the application using the startup script
16
  CMD ["bash", "start.sh"]
README.md CHANGED
@@ -6,7 +6,7 @@ emoji: ⚡
6
  colorFrom: purple
7
  colorTo: green
8
  sdk: docker
9
- app_port: 8000
10
  pinned: true
11
  thumbnail: >-
12
  https://cdn-uploads.huggingface.co/production/uploads/686e28b405d4ddcdd96adeb2/i9iufR3L-rgj39mk_B9QW.jpeg
 
6
  colorFrom: purple
7
  colorTo: green
8
  sdk: docker
9
+ app_port: 8080
10
  pinned: true
11
  thumbnail: >-
12
  https://cdn-uploads.huggingface.co/production/uploads/686e28b405d4ddcdd96adeb2/i9iufR3L-rgj39mk_B9QW.jpeg
src/database/webui.db DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:7325e1e3c85dfcc04053d492b128a0c167a06e0fa9eb3c8321f81149b1b33efd
3
- size 9211904