mirror of
https://github.com/khoj-ai/khoj.git
synced 2024-11-23 15:38:55 +01:00
Add specific version for Python packages and downgrade miniconda Docker image to potentially fix build issues
This commit is contained in:
parent
0f88abd219
commit
07a56c4ab6
3 changed files with 20 additions and 16 deletions
|
@ -1,5 +1,5 @@
|
|||
# syntax=docker/dockerfile:1
|
||||
FROM continuumio/miniconda3:latest
|
||||
FROM continuumio/miniconda3:4.12.0
|
||||
|
||||
# Install system dependencies.
|
||||
RUN apt-get update -y && \
|
||||
|
|
|
@ -37,6 +37,10 @@
|
|||
- [[https://github.com/debanjum/semantic-search/tree/master/src/interface/emacs#installation][Install]] [[./src/interface/emacs/semantic-search.el][semantic-search.el]]
|
||||
- Run ~M-x semantic-search <user-query>~
|
||||
|
||||
** Run Unit tests
|
||||
|
||||
`pytest`
|
||||
|
||||
** Upgrade
|
||||
#+begin_src shell
|
||||
docker-compose build --pull
|
||||
|
|
|
@ -2,19 +2,19 @@ name: semantic-search
|
|||
channels:
|
||||
- conda-forge
|
||||
dependencies:
|
||||
- python=3.*
|
||||
- numpy=1.*
|
||||
- pytorch=1.*
|
||||
- transformers=4.*
|
||||
- python=3.8.*
|
||||
- numpy=1.22.4
|
||||
- pytorch=1.11.0
|
||||
- transformers=4.19.4
|
||||
- sentence-transformers=2.1.0
|
||||
- fastapi=0.*
|
||||
- uvicorn=0.*
|
||||
- pyyaml=5.*
|
||||
- pytest=6.*
|
||||
- pillow=8.*
|
||||
- torchvision=0.*
|
||||
- openai=0.*
|
||||
- pydantic=1.*
|
||||
- jinja2=3.0.*
|
||||
- aiofiles=0.*
|
||||
- huggingface_hub=0.*
|
||||
- fastapi=0.77.1
|
||||
- uvicorn=0.17.6
|
||||
- pyyaml=6.0
|
||||
- pytest=7.1.2
|
||||
- pillow=8.4.0
|
||||
- torchvision=0.12.0
|
||||
- openai=0.20.0
|
||||
- pydantic=1.9.1
|
||||
- jinja2=3.1.2
|
||||
- aiofiles=0.8.0
|
||||
- huggingface_hub=0.8.1
|
||||
|
|
Loading…
Reference in a new issue