From 3e0defc7b5d7a5498aec6851ae00b026c7fa6817 Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Mon, 22 Apr 2024 15:30:07 +0100 Subject: Further changes to Dockerfile --- postgresql/Dockerfile | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'postgresql/Dockerfile') 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/ -- cgit v1.2.3