10 lines
258 B
Docker
10 lines
258 B
Docker
FROM postgres:16-bookworm
|
|
|
|
# Install pgvector
|
|
RUN apt-get update && apt-get install -y \
|
|
postgresql-16-pgvector \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
# Add initialization script to create the extension
|
|
COPY init-pgvector.sql /docker-entrypoint-initdb.d/
|