Skip to content

Commit

Permalink
fix(server): Build with npm install dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
pando85 committed Jan 21, 2024
1 parent f0b9998 commit 4e69df0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ worker: ## build worker binary
build-%:
@echo "Building dist/transcoder-$*"
@if [ "$*" = "server" ]; then \
cd server/web/ui && npm run build; \
cd server/web/ui && npm install --production && npm run build; \
cd -; \
fi
@CGO_ENABLED=0 go build -o dist/transcoder-$* $*/main.go
Expand Down

0 comments on commit 4e69df0

Please sign in to comment.