metamigo-frontend: build and run in docker

This commit is contained in:
Abel Luck 2023-06-06 07:10:28 +00:00
parent 2f02915446
commit fd7e543d16
8 changed files with 80 additions and 101 deletions

View file

@ -8,9 +8,6 @@ if [[ "$1" == "api" ]]; then
elif [[ "$1" == "worker" ]]; then
echo "docker-entrypoint: starting worker"
exec dumb-init ./cli worker
elif [[ "$1" == "frontend" ]]; then
echo "docker-entrypoint: starting frontend"
exec dumb-init yarn workspace @app/frontend start
elif [[ "$1" == "cli" ]]; then
echo "docker-entrypoint: starting frontend"
shift 1