File entrypoint.sh of Package opensuse-quiz

#!/bin/bash


# Directory will be unclean as we have a volume etc
git clone --depth 1 https://github.com/openSUSE/quiz.git tmp.checkout
cp -rv tmp.checkout/* .
rm -rf tmp.checkout

npm install
npm run build:css

# const.js fallbacks to defaults if .env doesn't exist (netlify)
env > .env

exec npm run production
openSUSE Build Service is sponsored by