Skip to content
Snippets Groups Projects
docker-start 373 B
Newer Older
  • Learn to ignore specific revisions
  • jonezy35's avatar
    jonezy35 committed
    #####################################################
    # 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.
    #####################################################
    
    if [ ! -d "node_modules" ] || [ "$(ls -A node_modules)" = "" ]; then
        yarn
    fi
    
    yarn start:browser