mirror of
https://github.com/khoj-ai/khoj.git
synced 2024-11-23 15:38:55 +01:00
Reduce Khoj Docker image size by 2Gb by not caching pip packages
Resolve #148
This commit is contained in:
parent
f664a74e77
commit
802472cd99
1 changed files with 2 additions and 3 deletions
|
@ -6,9 +6,8 @@ LABEL org.opencontainers.image.source https://github.com/khoj-ai/khoj
|
|||
RUN apt update -y && \
|
||||
apt -y install python3-pip python3-pyqt6 git
|
||||
|
||||
# Install Python Dependencies
|
||||
RUN pip install --upgrade pip && \
|
||||
pip install git+https://github.com/khoj-ai/khoj.git
|
||||
# Install Application
|
||||
RUN pip install --no-cache-dir git+https://github.com/khoj-ai/khoj.git
|
||||
|
||||
# Run the Application
|
||||
# There are more arguments required for the application to run,
|
||||
|
|
Loading…
Reference in a new issue