Skip to content

Commit

Permalink
Only try npm install on dev if package.json exists
Browse files Browse the repository at this point in the history
  • Loading branch information
ahosgood committed Jan 10, 2025
1 parent b0e604e commit e33b385
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions docker/tna-python-dev/bin/dev
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,11 @@ cd /app || return

poetry install --no-root --with dev || true

tna-npm install -g [email protected] [email protected] [email protected] [email protected] [email protected] [email protected]
tna-npm install
if [ -f "/app/package.json" ]
then
tna-npm install -g [email protected] [email protected] [email protected] [email protected] [email protected] [email protected]
tna-npm install
fi

if [ -d "/home/app/.local/bin/tasks" ]
then
Expand Down

0 comments on commit e33b385

Please sign in to comment.