File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 1- FROM ubuntu:24.04
1+ FROM python:3.13-slim-bookworm
22ARG DEBIAN_FRONTEND=noninteractive
33
44RUN apt-get update -qq -y \
5- && apt-get install -y binutils libproj-dev python3-gdal libgeos-dev libyaml-dev python3-pip \
6- && apt-get clean \
5+ && apt-get install -y binutils libproj-dev python3-gdal libgeos-dev libyaml-dev postgresql-client libpq-dev python3 python3-dev python3-pip \
6+ && apt-get clean
77COPY ./requirements.txt requirements.txt
8- RUN pip install --no-cache-dir --target=packages - r requirements.txt
8+ RUN pip install -r requirements.txt
99
1010COPY . /app
1111RUN useradd django
Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ class Common(Configuration):
5454 DATABASES = {
5555 "default" : dj_database_url .config (
5656 default = os .getenv (
57- "DJANGO_DB_URL" , "postgis://postgres:@postgres:5432/vbos"
57+ "DJANGO_DB_URL" , "postgis://postgres:postgres @postgres:5432/vbos"
5858 ),
5959 conn_max_age = int (os .getenv ("POSTGRES_CONN_MAX_AGE" , 600 )),
6060 )
You can’t perform that action at this time.
0 commit comments