From 69df4089b04bdfba07e13f300fb84466539af3dd Mon Sep 17 00:00:00 2001 From: Nabarun Date: Thu, 21 Aug 2025 15:23:15 +0530 Subject: [PATCH] Update readme steps to test deployment locally --- build-webapp.sh | 12 ++++++------ readme.md | 10 +++------- 2 files changed, 9 insertions(+), 13 deletions(-) diff --git a/build-webapp.sh b/build-webapp.sh index 6081fb1..b7846e7 100755 --- a/build-webapp.sh +++ b/build-webapp.sh @@ -3,12 +3,12 @@ PKG_DIR="./apps/deploy-fe" cat > $PKG_DIR/.env < - -- Change branch - ```bash - git checkout ng-support-custom-nextjs - ``` - - Build the container for app + ```bash laconic-so build-webapp --source-repo /laconic-deployer-frontend --base-container cerc/nextjs-base ``` @@ -112,8 +107,9 @@ Make sure you have: - Create an env file as described in [previous steps](#3-configure-environment-variables) - Run the webapp container locally + ```bash - docker run -p 3000:3000 --env-file cerc/laconic-deployer-frontend:local + docker run -p 3000:80 --env-file cerc/laconic-deployer-frontend:local ``` - Scripts used for deployment