Skip to content

Commit 4b467d0

Browse files
committed
fix: ensure no auto-created tables
1 parent 3293827 commit 4b467d0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,3 +36,6 @@ RUN apt-get update \
3636
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
3737

3838
COPY ./initdb-extensions.sh /docker-entrypoint-initdb.d/20_extensions.sh
39+
40+
# Ensure postgis extension does not automatically create tables to prevent "You're about to delete spatial_ref_sys table with 8500 items" drizzle schema prompts on first run
41+
RUN rm -f /docker-entrypoint-initdb.d/10_postgis.sh

0 commit comments

Comments
 (0)