taowang1993 commited on
Commit
215b644
·
verified ·
1 Parent(s): b3b3f3b

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -5
Dockerfile CHANGED
@@ -1,11 +1,6 @@
1
  # Use the prebuilt image
2
  FROM ghcr.io/open-webui/open-webui:main
3
 
4
- # Set all necessary environment variables
5
- ENV SCARF_NO_ANALYTICS=true \
6
- DO_NOT_TRACK=true \
7
- ANONYMIZED_TELEMETRY=false \
8
-
9
  # Create data directories and set permissions
10
  RUN mkdir -p /app/backend/data/
11
 
@@ -15,6 +10,9 @@ RUN chown -R $UID:$GID /app/backend/data/
15
  # Expose the port
16
  EXPOSE 8080
17
 
 
 
 
18
  # Command to start the application
19
  CMD ["bash", "start.sh"]
20
 
 
1
  # Use the prebuilt image
2
  FROM ghcr.io/open-webui/open-webui:main
3
 
 
 
 
 
 
4
  # Create data directories and set permissions
5
  RUN mkdir -p /app/backend/data/
6
 
 
10
  # Expose the port
11
  EXPOSE 8080
12
 
13
+ # Set the working directory
14
+ WORKDIR /app/backend
15
+
16
  # Command to start the application
17
  CMD ["bash", "start.sh"]
18