Adapt Docker files to neo-server data migration

This commit is contained in:
Cohee
2024-04-12 01:32:40 +03:00
parent 396eeca73a
commit a3da248e3c
6 changed files with 8 additions and 47 deletions

View File

@@ -21,12 +21,6 @@ then
esac
fi
# if running on replit patch whitelist
if [ ! -z "$REPL_ID" ]; then
echo -e "Running on Repl.it... \nPatching Whitelist..."
sed -i 's|whitelistMode = true|whitelistMode = false|g' "config.conf"
fi
echo "Installing Node Modules..."
export NODE_ENV=production
npm i --no-audit --no-fund --quiet --omit=dev