-
Notifications
You must be signed in to change notification settings - Fork 758
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #432 from sebastianmarkow/main
chore: Version bump qdrant to v1.3.0
- Loading branch information
Showing
2 changed files
with
59 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,23 @@ | ||
ARG QDRANT_VERSION=1.1.1 | ||
ARG QDRANT_CLIENT_VERSION=1.1.6 | ||
ARG QDRANT_VERSION=1.3.0 | ||
ARG QDRANT_CLIENT_VERSION=1.3.1 | ||
FROM qdrant/qdrant:v${QDRANT_VERSION} | ||
|
||
RUN apt-get update | ||
RUN apt-get install -y python3-pip build-essential python3-h5py | ||
RUN python3 -m pip install --upgrade pip setuptools wheel | ||
|
||
ARG QDRANT_CLIENT_VERSION | ||
WORKDIR /home/app | ||
COPY requirements.txt . | ||
|
||
RUN apt-get update \ | ||
&& apt-get install -y python3-pip build-essential python3-h5py \ | ||
&& python3 -m pip install --break-system-packages --upgrade pip setuptools wheel \ | ||
&& python3 -m pip install --break-system-packages -r requirements.txt \ | ||
&& python3 -m pip install --break-system-packages qdrant-client==${QDRANT_CLIENT_VERSION} | ||
|
||
COPY requirements.txt run_algorithm.py ./ | ||
COPY run_algorithm.py . | ||
|
||
ARG QDRANT_VERSION | ||
RUN python3 -m pip install -r requirements.txt | ||
RUN python3 -m pip install qdrant-client==${QDRANT_VERSION} | ||
RUN printf '#!/bin/bash\n\ | ||
cd /qdrant && ./qdrant &\n\ | ||
sleep 5\n\ | ||
python3 -u run_algorithm.py "$@"' > entrypoint.sh \ | ||
&& chmod u+x entrypoint.sh | ||
|
||
RUN echo '#!/bin/bash' >> entrypoint.sh | ||
RUN echo 'cd /qdrant && ./qdrant &' >> entrypoint.sh | ||
RUN echo 'sleep 5' >> entrypoint.sh | ||
RUN echo 'python3 -u run_algorithm.py "$@"' >> entrypoint.sh | ||
RUN chmod u+x entrypoint.sh | ||
ENTRYPOINT ["/home/app/entrypoint.sh"] | ||
ENTRYPOINT ["/home/app/entrypoint.sh"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters