bardd commited on
Commit
d8c858d
·
verified ·
1 Parent(s): 3e52925

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +19 -0
Dockerfile ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM ghcr.io/open-webui/open-webui:main
2
+
3
+ # Set environment variables
4
+ ENV ENV=production \
5
+ WEBUI_AUTH=false \
6
+ OPENAI_API_BASE_URL=https://api.deepinfra.com/v1/openai \
7
+ OPENAI_API_KEY=Qkg36ZyeOllw5Y7ARp3Xr7Gmq8JmR13B
8
+
9
+ # Expose the application port
10
+ EXPOSE 8080
11
+
12
+ # Set the working directory
13
+ WORKDIR /app/backend
14
+
15
+ # Make sure the start.sh script is executable
16
+ RUN chmod +x start.sh
17
+
18
+ # Run the start.sh script
19
+ CMD ["./start.sh"]