papaduvalier commited on
Commit
27ab91b
·
verified ·
1 Parent(s): 40884ad

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +8 -0
Dockerfile CHANGED
@@ -1,6 +1,14 @@
1
  # Use the official open-webui image as the base
2
  FROM ghcr.io/open-webui/open-webui:main
 
 
 
3
 
 
 
 
 
 
4
  # Expose port 7860 for Hugging Face Spaces
5
  EXPOSE 7860
6
 
 
1
  # Use the official open-webui image as the base
2
  FROM ghcr.io/open-webui/open-webui:main
3
+ RUN mkdir -p /app/backend/open_webui/static
4
+ RUN mkdir -p /app/backend/data
5
+ RUN mkdir -p /app/cache
6
 
7
+ # Install necessary dependencies
8
+ RUN apt-get update && apt-get install -y apache2-utils sqlite3
9
+
10
+ # Update the admin password in webui.db by setting secret ORIN_PASSWORD, admin account is [email protected]
11
+ COPY webui.db /webui.db
12
  # Expose port 7860 for Hugging Face Spaces
13
  EXPOSE 7860
14