diff --git a/build-webapp.sh b/build-webapp.sh
index 4ea80bd..c2bdd61 100755
--- a/build-webapp.sh
+++ b/build-webapp.sh
@@ -2,7 +2,7 @@
 
 PKG_DIR="$PWD"
 
-OUTPUT_DIR="${PKG_DIR}/dist"
+OUTPUT_DIR="${PKG_DIR}/out"
 DEST_DIR=${1:-/data}
 
 if [[ -d "$DEST_DIR" ]]; then
diff --git a/package.json b/package.json
index a17e4f1..38d0313 100644
--- a/package.json
+++ b/package.json
@@ -4,7 +4,7 @@
   "private": true,
   "scripts": {
     "dev": "next dev",
-    "build": "next build",
+    "build": "next export",
     "start": "next start",
     "lint": "next lint"
   },