diff --git a/Dockerfile b/Dockerfile index 2e898dc89..023894075 100644 --- a/Dockerfile +++ b/Dockerfile @@ -153,6 +153,10 @@ COPY --chown=$UID:$GID --from=build /app/package.json /app/package.json # copy backend files COPY --chown=$UID:$GID ./backend . +# provide group with same permissions as user +# allows running in OpenShift +RUN chmod -R g=u /app $HOME + EXPOSE 8080 HEALTHCHECK CMD curl --silent --fail http://localhost:${PORT:-8080}/health | jq -ne 'input.status == true' || exit 1