mirror of
https://github.com/luxfi/explore.git
synced 2026-09-24 00:28:18 +00:00
- Replace yarn v1 with pnpm 10.11.0 across all build configs - Move misplaced deps to devDependencies (cspell, esbuild, @openzeppelin/contracts, @next/bundle-analyzer, @types/papaparse, @types/react-scroll) - Remove stale @types/[email protected] override — use correct React 19 types (fixes 22 type errors) - Convert yarn resolutions to pnpm.overrides - Update Dockerfile, Dockerfile.lux, CI workflows, and all shell scripts - Add .npmrc with shamefully-hoist for Next.js compatibility - Add outputFileTracingRoot to next.config.js
22 lines
523 B
Bash
Executable File
22 lines
523 B
Bash
Executable File
#!/bin/bash
|
|
|
|
if [ "$#" -ne 1 ]; then
|
|
echo "Usage: pnpm start:docker:preset <preset_name>"
|
|
exit 1
|
|
fi
|
|
|
|
preset_name="$1"
|
|
config_file="./configs/envs/.env.${preset_name}"
|
|
secrets_file="./configs/envs/.env.secrets"
|
|
|
|
if [ ! -f "$config_file" ]; then
|
|
echo "Error: File '$config_file' not found."
|
|
exit 1
|
|
fi
|
|
|
|
if [ ! -f "$secrets_file" ]; then
|
|
echo "Error: File '$secrets_file' not found."
|
|
exit 1
|
|
fi
|
|
|
|
docker run -p 3000:3000 --env-file $config_file --env-file $secrets_file blockscout-frontend:local | pino-pretty |