]> git.openstreetmap.org Git - rails.git/blobdiff - docker/postgres/Dockerfile
Merge pull request #2409 from jalessio/docker-compose-take2
[rails.git] / docker / postgres / Dockerfile
index 672e2e7a623ef4bda52b1ca0cb798be3bb19f1aa..9faddd841891ebca693b6e6f4078cb4614e8db0e 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/sbin/osm-db-functions.sql