From 47afbfcbaa41b4de745b56777ff7d9dd952e7198 Mon Sep 17 00:00:00 2001 From: Ishaan Jaff Date: Wed, 14 Aug 2024 09:26:47 -0700 Subject: [PATCH] allow running as non-root user --- Dockerfile.database | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Dockerfile.database b/Dockerfile.database index 22084bab8..c995939e5 100644 --- a/Dockerfile.database +++ b/Dockerfile.database @@ -62,6 +62,11 @@ RUN pip install PyJWT --no-cache-dir RUN chmod +x build_admin_ui.sh && ./build_admin_ui.sh # Generate prisma client +ENV PRISMA_BINARY_CACHE_DIR=/app/prisma +RUN mkdir -p /.cache +RUN chmod -R 777 /.cache +RUN pip install nodejs-bin +RUN pip install prisma RUN prisma generate RUN chmod +x entrypoint.sh