build(docker/database): fix postgres file paths

This commit is contained in:
Sarah Vaupel 2024-11-04 15:17:47 +01:00
parent da35d404de
commit c9fbfc7e19

View File

@ -3,7 +3,7 @@ FROM docker.io/postgres:12
# Allow for connecting to database without password authentication
ENV POSTGRES_HOST_AUTH_METHOD=trust
COPY --chown=postgres:postgres docker/database/pg_hba.conf /tmp/pg_hba.conf
COPY --chown=postgres:postgres docker/database/postgresql.conf /tmp/postgresql.conf
COPY docker/database/pgconfig.sh /docker-entrypoint-initdb.d/_pgconfig.sh
COPY --chown=postgres:postgres docker/database/schema.sql /docker-entrypoint-initdb.d/schema.sql
COPY --chown=postgres:postgres docker/postgres/pg_hba.conf /tmp/pg_hba.conf
COPY --chown=postgres:postgres docker/postgres/postgresql.conf /tmp/postgresql.conf
COPY docker/postgres/pgconfig.sh /docker-entrypoint-initdb.d/_pgconfig.sh
COPY --chown=postgres:postgres docker/postgres/schema.sql /docker-entrypoint-initdb.d/schema.sql