Base all-in-one image on PostgreSQL Bookworm
This commit is contained in:
@@ -6,7 +6,7 @@ RUN npm install
|
||||
COPY frontend/ ./
|
||||
RUN npm run build
|
||||
|
||||
FROM postgis/postgis:16-3.5 AS runtime
|
||||
FROM postgres:16-bookworm AS runtime
|
||||
|
||||
ENV GEOINTEL_ENV=production \
|
||||
GEOINTEL_API_PREFIX=/api/v1 \
|
||||
@@ -27,7 +27,11 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||
libpq-dev \
|
||||
libproj-dev \
|
||||
nginx \
|
||||
postgresql-16-postgis-3 \
|
||||
postgresql-16-postgis-3-scripts \
|
||||
proj-bin \
|
||||
python3-dev \
|
||||
python3-venv \
|
||||
&& ln -sf /usr/bin/python3.11 /usr/local/bin/python3 \
|
||||
&& ln -sf /usr/bin/python3.11 /usr/bin/python3 \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
Reference in New Issue
Block a user