From 17eeeb64c9abf8ec23e85540d8255a93e1faad8f Mon Sep 17 00:00:00 2001 From: sophia Date: Fri, 18 Oct 2024 17:48:57 -0700 Subject: [PATCH] Create local conda-store dir for celery beat data files --- conda-store-server/Dockerfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/conda-store-server/Dockerfile b/conda-store-server/Dockerfile index c00541ccb..aad76468b 100644 --- a/conda-store-server/Dockerfile +++ b/conda-store-server/Dockerfile @@ -61,7 +61,10 @@ RUN mamba create --name ${conda_env_name} \ COPY ./ /opt/conda-store-server/ USER 0:0 -RUN chown -R ${user_no}:${user_no} /opt/conda-store-server/ +RUN chown -R ${user_no}:${user_no} /opt/conda-store-server/ && \ + mkdir -p /.local/share/conda-store && \ + chown -R ${user_no}:${user_no} /.local/share/conda-store + USER ${user_no}:${user_no} # ---------------------------------------------------------------------------------