import os import subprocess def build_frontend(): """ builds the frontend application """ path: str = os.path.join(os.path.dirname(__file__), "..", "..", "stockingly-frontend") p = subprocess.Popen(["yarn", "build"], cwd=path) p.wait()