X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/c514fd62fe005d8d41a39e11508a3aee6ba9946d..b70da7b8ea15ab48bb2f34155567cea6dffc8fc9:/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