#!/bin/bash set -e # Clone repo als die nog niet bestaat if [ ! -d ".git" ]; then git clone -b ${GIT_BRANCH:-main} ${GIT_REPO_URL} . else git reset --hard git clean -fd git pull origin ${GIT_BRANCH:-main} fi # Dependencies npm ci # Build npm run build # Start Nuxt exec npm run start