Skip to content

Commit

Permalink
Add Makefile for building and serving frontend on specific host and port
Browse files Browse the repository at this point in the history
  • Loading branch information
openhands-agent committed Jan 30, 2025
1 parent c8f1062 commit a3a6ba1
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions frontend/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
.PHONY: build run

build:
npm run build

run:
npx sirv-cli build/ --host 0.0.0.0 --port 12000 --single

0 comments on commit a3a6ba1

Please sign in to comment.