Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 9947e76

Browse filesBrowse files
authored
Vector dependecies for Dockerfile.local (#725)
1 parent a45085b commit 9947e76
Copy full SHA for 9947e76

File tree

1 file changed

+6
-1
lines changed
Filter options

1 file changed

+6
-1
lines changed

‎Dockerfile.local

Copy file name to clipboardExpand all lines: Dockerfile.local
+6-1Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ RUN echo 'postgres ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers
4646

4747
COPY ./pgml-extension/requirements.txt /app/requirements.txt
4848

49-
5049
RUN pip3 install -r /app/requirements.txt
5150

5251

@@ -60,6 +59,12 @@ RUN chmod a+rwx `$(which pg_config) --pkglibdir` \
6059
RUN useradd postgresml -m -s /bin/bash -G sudo
6160
RUN echo 'postgresml ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers
6261

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+
6368
USER postgresml
6469

6570

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.