X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/2da3ce6abfab55aa14f8fae4ae97abd5cf8a94ba..033c3b28b3b2708634f3015449d0c2ed222e26d6:/docker/postgres/Dockerfile diff --git a/docker/postgres/Dockerfile b/docker/postgres/Dockerfile index 672e2e7a6..9faddd841 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/sbin/osm-db-functions.sql