#!/bin/bash
mkdir -p /app.tmp
cd /app.tmp
git clone https://gitea.dyomedea.com/Dyomedea/backend.git
rsync -av backend/ /app/backend
cd /app/backend
rm -rf /app.tmp
npm install --force
npm run dev