Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
Fixes: #104

Adds `--chown` flag to `COPY` command in PostgreSQL Dockerfile to ensure that initialization files can be executed by `postgres` user.
  • Loading branch information
ajs6f authored Nov 20, 2023
1 parent b48be97 commit d472359
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion postgresql/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM postgres:12-alpine

# Include extra setup scripts (eg datastore)
COPY docker-entrypoint-initdb.d /docker-entrypoint-initdb.d
COPY --chown=postgres:postgres docker-entrypoint-initdb.d /docker-entrypoint-initdb.d

0 comments on commit d472359

Please sign in to comment.