File size: 403 Bytes
abdc396 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
FROM ghcr.io/open-webui/open-webui:main
# Install required tools
RUN apt-get update && apt-get install -y \
git \
git-lfs \
sqlite3 \
curl \
&& git lfs install \
&& rm -rf /var/lib/apt/lists/*
COPY sync_data.sh sync_data.sh
RUN chmod -R 777 ./data && \
chmod -R 777 /app/backend/open_webui/static && \
chmod +x sync_data.sh && \
sed -i "1r sync_data.sh" ./start.sh |