From bb6ec4b950f8b3a2fcc798da28d69d70f2576444 Mon Sep 17 00:00:00 2001 From: bhvishal Date: Mon, 8 Jul 2024 14:25:53 +0200 Subject: [PATCH] Add numba cache dir --- Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile b/Dockerfile index ec0bc7b8..7d90a54a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -21,6 +21,9 @@ RUN groupadd -g 1001 appgroup && \ useradd -u 1001 -g appgroup -m appuser && \ chown -R appuser:appgroup /home/appuser +# Set the Numba cache directory environment variable +ENV NUMBA_CACHE_DIR=/home/appuser/numba_cache + # Expose the port the app runs on EXPOSE 7000