X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/c514fd62fe005d8d41a39e11508a3aee6ba9946d..99546ae0a139b122d1a9e971b73909cf02351f44:/docker/postgres/Dockerfile diff --git a/docker/postgres/Dockerfile b/docker/postgres/Dockerfile index 672e2e7a6..8358e6e7f 100644 --- a/docker/postgres/Dockerfile +++ b/docker/postgres/Dockerfile @@ -2,3 +2,6 @@ FROM postgres:11 # Add db init script to install OSM-specific Postgres functions/extensions. 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/share/osm-db-functions.sql