summaryrefslogtreecommitdiffstats
path: root/postgresql
diff options
context:
space:
mode:
Diffstat (limited to 'postgresql')
-rw-r--r--postgresql/Dockerfile5
1 files changed, 5 insertions, 0 deletions
diff --git a/postgresql/Dockerfile b/postgresql/Dockerfile
index efe7c5f..1196bce 100644
--- a/postgresql/Dockerfile
+++ b/postgresql/Dockerfile
@@ -1,2 +1,7 @@
FROM postgres:16-alpine
+
+RUN addgroup -S app && adduser -S -g app app
+
+USER app
+
COPY postgresql/populate.sql /docker-entrypoint-initdb.d/