-FROM postgres:11
+FROM postgres:14
-# Add db init script to install OSM-specific Postgres functions/extensions.
+# Add db init script to install OSM-specific Postgres user.
ADD docker/postgres/openstreetmap-postgres-init.sh /docker-entrypoint-initdb.d/
-
-# Custom database functions are in a SQL file.
-ADD db/functions/functions.sql /usr/local/sbin/osm-db-functions.sql