mirror of
https://github.com/Alexander-D-Karpov/akarpov
synced 2024-12-18 08:36:16 +03:00
12 lines
419 B
Docker
12 lines
419 B
Docker
FROM postgres:14
|
|
|
|
RUN apt-get update && \
|
|
apt-get install -y postgresql-14-pgvector && \
|
|
apt-get purge -y --auto-remove -o APT:AutoRemove:RecommendsImportant=false && \
|
|
rm -rf /var/lib/apt/lists/*
|
|
|
|
COPY ./compose/production/postgres/maintenance /usr/local/bin/maintenance
|
|
RUN chmod +x /usr/local/bin/maintenance/*
|
|
RUN mv /usr/local/bin/maintenance/* /usr/local/bin \
|
|
&& rmdir /usr/local/bin/maintenance
|