#!/bin/bash if [ "$#" -ne 1 ]; then echo "Usage: pnpm start:docker:preset " 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