]> git.openstreetmap.org Git - rails.git/blobdiff - docker/postgres/Dockerfile
Update to latest osm-community-index
[rails.git] / docker / postgres / Dockerfile
index 672e2e7a623ef4bda52b1ca0cb798be3bb19f1aa..8358e6e7f545027a9e1522835daf10ee700f96dd 100644 (file)
@@ -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