summaryrefslogtreecommitdiffstats
path: root/postgresql/Dockerfile
diff options
context:
space:
mode:
authorMatthew Lemon <y@yulqen.org>2024-04-22 15:30:07 +0100
committerMatthew Lemon <y@yulqen.org>2024-04-22 15:31:00 +0100
commit3e0defc7b5d7a5498aec6851ae00b026c7fa6817 (patch)
treec85d12267d1c36c272f5966987a6960c0316f014 /postgresql/Dockerfile
parent05bef10708775eb608dd68bedd3bb4b796ba6920 (diff)
Further changes to Dockerfile
Diffstat (limited to '')
-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/