docker compose commands

This commit is contained in:
Xi Yan 2024-11-08 14:00:54 -08:00
parent bd0622ef10
commit 8cd7e406c0
9 changed files with 129 additions and 0 deletions

View file

@ -0,0 +1,15 @@
# This is installing the pgvector extension for postgres
FROM postgres:latest
RUN apt-get update && apt-get install -y \
build-essential \
git \
postgresql-server-dev-all \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /tmp
RUN git clone https://github.com/pgvector/pgvector.git
WORKDIR /tmp/pgvector
RUN make
RUN make install