mirror of
https://github.com/khoj-ai/khoj.git
synced 2024-11-23 23:48:56 +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 && \
|
RUN apt update -y && \
|
||||||
apt -y install python3-pip python3-pyqt6 git
|
apt -y install python3-pip python3-pyqt6 git
|
||||||
|
|
||||||
# Install Python Dependencies
|
# Install Application
|
||||||
RUN pip install --upgrade pip && \
|
RUN pip install --no-cache-dir git+https://github.com/khoj-ai/khoj.git
|
||||||
pip install git+https://github.com/khoj-ai/khoj.git
|
|
||||||
|
|
||||||
# Run the Application
|
# Run the Application
|
||||||
# There are more arguments required for the application to run,
|
# There are more arguments required for the application to run,
|
||||||
|
|
Loading…
Reference in a new issue