File size: 390 Bytes
4397f66
 
 
c08f0e3
 
4397f66
 
 
 
 
 
 
c08f0e3
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# Use the base image from the registry
FROM ghcr.io/open-webui/open-webui:main

# Expose the internal container port EXPOSE 8080
EXPOSE 8080

# Add host entry for host.docker.internal as host-gateway
RUN echo "127.0.0.1 host.docker.internal" >> /etc/hosts

# Define the volume for persistent storage
VOLUME /app/backend/data

# Default command to run the application
CMD ["./entrypoint.sh"]