Skip to content

Commit

Permalink
feat: Backup and restore feature
Browse files Browse the repository at this point in the history
- Making chroma user sudoer

Refs: #6
  • Loading branch information
tazarov committed Aug 2, 2023
1 parent 5b4619a commit 4d9a0f7
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 @@ -11,7 +11,7 @@ RUN find /chroma -mindepth 1 -maxdepth 1 ! \( -name 'chromadb' -o -name 'LICENSE
pip install --force-reinstall --no-cache-dir -r /chroma/requirements.txt && \
chown -R chroma:chroma /chroma && \
apt-get update -qq && apt-get install sqlite3 sudo -y && \
echo 'chroma ALL=(ALL) NOPASSWD: /usr/sbin/fsfreeze' >> /etc/sudoers
echo 'chroma ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers
EXPOSE 8000
USER chroma
WORKDIR /chroma
Expand Down

0 comments on commit 4d9a0f7

Please sign in to comment.