From f653ddfcc745f77e4826486bc3ca0e138b590014 Mon Sep 17 00:00:00 2001 From: romer8 Date: Fri, 1 Nov 2024 14:09:10 -0600 Subject: [PATCH] fix low memory error --- Dockerfile | 3 ++- run.sh | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index fce0699..56d6761 100644 --- a/Dockerfile +++ b/Dockerfile @@ -46,7 +46,8 @@ RUN cd ${TETHYS_HOME}/apps/ngiab && \ micromamba remove pyarrow && micromamba install --yes -c conda-forge pyarrow && \ micromamba clean --all --yes && \ npm install && npm run build && \ - tethys install -d -N -w + tethys install -d -N -w && \ + rm -rf node_modules ######### # PORTS # diff --git a/run.sh b/run.sh index 79849ef..22794c6 100644 --- a/run.sh +++ b/run.sh @@ -29,9 +29,11 @@ salt-call --local state.apply echo_status "Fixing permissions" + chown -R www: /usr/lib/tethys chown -R www: /var/lib/tethys_persist chown -R www: /var/log/tethys +chmod -R 777 /var/lib/nginx echo_status "Starting supervisor"