20251124炳辰版本
This commit is contained in:
10
postgres/Dockerfile
Normal file
10
postgres/Dockerfile
Normal file
@@ -0,0 +1,10 @@
|
||||
FROM postgres:12
|
||||
|
||||
# install PostGIS extension
|
||||
RUN apt-get update && apt install -y postgis postgresql-12-postgis-3
|
||||
|
||||
RUN mkdir -p /docker-entrypoint-initdb.d
|
||||
|
||||
# create app database and restore data
|
||||
COPY ./schema.sql /docker-entrypoint-initdb.d/schema.sql
|
||||
COPY ./tables.sql /docker-entrypoint-initdb.d/tables.sql
|
||||
Reference in New Issue
Block a user