mirror of
https://github.com/khoj-ai/khoj.git
synced 2024-11-23 23:48:56 +01:00
Install Khoj on Docker from local app instead of pulling from github
Just use a random static version for Khoj on the Docker as otherwise the hatch vcs dynamic versioning requires the .git directory in the docker image too
This commit is contained in:
parent
802472cd99
commit
6308388dfc
1 changed files with 3 additions and 1 deletions
|
@ -7,7 +7,9 @@ RUN apt update -y && \
|
|||
apt -y install python3-pip python3-pyqt6 git
|
||||
|
||||
# Install Application
|
||||
RUN pip install --no-cache-dir git+https://github.com/khoj-ai/khoj.git
|
||||
COPY . .
|
||||
RUN sed -i 's/dynamic = \["version"\]/version = "0.0.0"/' pyproject.toml && \
|
||||
pip install --no-cache-dir .
|
||||
|
||||
# Run the Application
|
||||
# There are more arguments required for the application to run,
|
||||
|
|
Loading…
Reference in a new issue