cherrypick/.devcontainer/init.sh

12 lines
250 B
Bash
Raw Normal View History

#!/bin/bash
set -xe
sudo chown -R node /workspace
git submodule update --init
pnpm config set store-dir /home/node/.local/share/pnpm/store
pnpm install --frozen-lockfile
cp .devcontainer/devcontainer.yml .config/default.yml
pnpm build
pnpm migrate