Spaces:
Running
Running
Commit
·
9c3cdee
1
Parent(s):
314cccb
Adding Docker Container
Browse files- Dockerfile +8 -1
Dockerfile
CHANGED
@@ -1,8 +1,15 @@
|
|
1 |
# Use the Qdrant image with the patent database as a base
|
2 |
FROM kushagrash13/qdrant_with_patent_database:latest
|
3 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4 |
# Install Python
|
5 |
-
RUN apt-get
|
6 |
|
7 |
# Set working directory
|
8 |
WORKDIR /code
|
|
|
1 |
# Use the Qdrant image with the patent database as a base
|
2 |
FROM kushagrash13/qdrant_with_patent_database:latest
|
3 |
|
4 |
+
# Install Qdrant if not present
|
5 |
+
RUN apt-get update && \
|
6 |
+
apt-get install -y wget && \
|
7 |
+
wget https://github.com/qdrant/qdrant/releases/download/v1.1.0/qdrant-linux-x86_64 && \
|
8 |
+
chmod +x qdrant-linux-x86_64 && \
|
9 |
+
mv qdrant-linux-x86_64 /usr/local/bin/qdrant
|
10 |
+
|
11 |
# Install Python
|
12 |
+
RUN apt-get install -y python3-pip
|
13 |
|
14 |
# Set working directory
|
15 |
WORKDIR /code
|