Build docker image using latest khoj from git master

- Previous state
  Ideally docker image should use latest app code available locally.
  But this is better than the previous state where the latest Docker
  image was being built using older khoj package published to pypi

  This would happen because the workflow to publish the khoj-assistant
  pypi package runs in parallel to the dockerize workflow so the latest
  khoj pypi package isn't published before the latest docker image is
  built on master

- Updated state
  Now at least the docker image published via the dockerize github
  workflow will be built using the latest khoj code on github
This commit is contained in:
Debanjum Singh Solanky 2023-06-26 20:16:07 -07:00
parent ddd550e6f4
commit 5da6a5e669

View file

@ -4,11 +4,11 @@ LABEL org.opencontainers.image.source https://github.com/khoj-ai/khoj
# Install System Dependencies
RUN apt update -y && \
apt -y install python3-pip python3-pyqt6
apt -y install python3-pip python3-pyqt6 git
# Install Python Dependencies
RUN pip install --upgrade pip && \
pip install --upgrade --pre khoj-assistant
pip install git+https://github.com/khoj-ai/khoj.git
# Run the Application
# There are more arguments required for the application to run,