Files
actual-actualbudget/docker-start.sh
2023-05-11 09:55:53 -04:00

14 lines
373 B
Bash

#####################################################
# This startup script is used by the docker container
# to check if the node_modules folder is empty and
# if so, run yarn to install the dependencies.
#####################################################
#!/bin/sh
if [ ! -d "node_modules" ] || [ "$(ls -A node_modules)" = "" ]; then
yarn
fi
yarn start:browser