diff --git a/build-webapp.sh b/build-webapp.sh index d550c3f..5758564 100755 --- a/build-webapp.sh +++ b/build-webapp.sh @@ -13,7 +13,7 @@ EOF pnpm install || exit 1 -# TODO: Fix build script to run +# TODO: Fix build script to run # pnpm build --filter deploy-fe || exit 1 pnpm build --filter @workspace/gql-client || exit 1 diff --git a/readme.md b/readme.md index 75d396b..df6e0b0 100644 --- a/readme.md +++ b/readme.md @@ -98,13 +98,8 @@ Make sure you have: - Follow the dev install steps for stack-orchestrator from - -- 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 diff --git a/run-webapp.sh b/run-webapp.sh index efb6001..1855680 100755 --- a/run-webapp.sh +++ b/run-webapp.sh @@ -16,7 +16,7 @@ EOF # For debugging # cat .env.local -# TODO: Need production build in .next. Check build-webapp.sh +# TODO: Need production build in .next. Check build-webapp.sh # pnpm start -p ${CERC_LISTEN_PORT:-80} pnpm dev -p ${CERC_LISTEN_PORT:-80}