From a3a6ba1417d337baf581a30d7fbf79092f6cec15 Mon Sep 17 00:00:00 2001 From: openhands Date: Thu, 30 Jan 2025 21:29:29 +0000 Subject: [PATCH] Add Makefile for building and serving frontend on specific host and port --- frontend/Makefile | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 frontend/Makefile diff --git a/frontend/Makefile b/frontend/Makefile new file mode 100644 index 000000000000..c1d89db50de0 --- /dev/null +++ b/frontend/Makefile @@ -0,0 +1,7 @@ +.PHONY: build run + +build: + npm run build + +run: + npx sirv-cli build/ --host 0.0.0.0 --port 12000 --single \ No newline at end of file