Skip to content

Commit 87635ad

Browse files
Merge pull request #27 from ForgeFlow/fix-pgvector-files
[FIX] pgvector files: copy extension files to /local/ folder
2 parents 3a2087b + 5d27541 commit 87635ad

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ ENV CERTS="{}" \
2020
RUN apk add --no-cache python3 py3-netifaces \
2121
&& if [ "${PG_MAJOR:-0}" -ge 12 ]; then \
2222
apk add --no-cache postgresql-pgvector; \
23+
cp /usr/share/postgresql/extension/vector* /usr/local/share/postgresql/extension/; \
24+
cp /usr/lib/postgresql17/vector.so /usr/local/lib/postgresql/; \
2325
fi \
2426
&& mkdir -p /etc/postgres \
2527
&& chmod a=rwx /etc/postgres

0 commit comments

Comments
 (0)