From 197e70fde12d241e08cf1057b744dea88fedefe7 Mon Sep 17 00:00:00 2001 From: Tom Kralidis Date: Tue, 25 Jun 2024 15:49:31 -0400 Subject: [PATCH] add chgrp for OpenShift compatability --- wis2-gdc-api/Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/wis2-gdc-api/Dockerfile b/wis2-gdc-api/Dockerfile index b9d1b06..6c9e5ec 100644 --- a/wis2-gdc-api/Dockerfile +++ b/wis2-gdc-api/Dockerfile @@ -38,4 +38,7 @@ RUN pip3 install -r /app/docker/wis2-gdc-api/requirements.txt && \ pywcmp bundle sync && \ chmod +x /app/docker/wis2-gdc-api/entrypoint.sh +RUN chgrp -R 0 /pygeoapi && \ + chmod -R g=u /pygeoapi + ENTRYPOINT [ "/app/docker/wis2-gdc-api/entrypoint.sh" ]