Files
gatos-tejada/docker/postgres/Dockerfile
T
kiskaadee 6aafe3ff6f feat(infra): optimize PostGIS/pgvector container and track environment template
- Refactor docker/postgres/Dockerfile to build on pgvector:pg17 with postgresql-17-postgis-3.
- Fix .gitignore rule to cleanly track .env.example.
- Add .env.example with local database, auth, and PGAdmin configuration templates.
2026-10-13 07:12:38 -05:00

11 lines
353 B
Docker

FROM pgvector/pgvector:pg17
# Install official PostGIS 3 for PostgreSQL 17
RUN apt-get update && \
apt-get install -y --no-install-recommends \
postgresql-17-postgis-3 \
postgresql-17-postgis-3-scripts && \
rm -rf /var/lib/apt/lists/*
COPY docker/postgres/init-extensions.sql /docker-entrypoint-initdb.d/01-init-extensions.sql