Skip to content

Commit

Permalink
feat: Backup and restore feature
Browse files Browse the repository at this point in the history
- Adding sudo to the image for fsfreeze use

Refs: #6
  • Loading branch information
tazarov committed Aug 2, 2023
1 parent 366b5f3 commit 5b4619a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion image/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ RUN find /chroma -mindepth 1 -maxdepth 1 ! \( -name 'chromadb' -o -name 'LICENSE
. /chroma/venv/bin/activate && \
pip install --force-reinstall --no-cache-dir -r /chroma/requirements.txt && \
chown -R chroma:chroma /chroma && \
apt-get update -qq && apt-get install sqlite3 -y && \
apt-get update -qq && apt-get install sqlite3 sudo -y && \
echo 'chroma ALL=(ALL) NOPASSWD: /usr/sbin/fsfreeze' >> /etc/sudoers
EXPOSE 8000
USER chroma
Expand Down

0 comments on commit 5b4619a

Please sign in to comment.