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"