# 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"]