We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a45085b commit 9947e76Copy full SHA for 9947e76
Dockerfile.local
@@ -46,7 +46,6 @@ RUN echo 'postgres ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers
46
47
COPY ./pgml-extension/requirements.txt /app/requirements.txt
48
49
-
50
RUN pip3 install -r /app/requirements.txt
51
52
@@ -60,6 +59,12 @@ RUN chmod a+rwx `$(which pg_config) --pkglibdir` \
60
59
RUN useradd postgresml -m -s /bin/bash -G sudo
61
RUN echo 'postgresml ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers
62
+RUN cd /tmp && \
63
+ git clone --branch v0.4.1 https://github.com/pgvector/pgvector.git && \
64
+ cd pgvector && \
65
+ make && \
66
+ make install
67
+
68
USER postgresml
69
70
0 commit comments