https://github.com/nvm-sh/nvm#installing-and-updating
nvm use
corepack enable && corepack prepare
corepack pnpm i # If you don't have pnpm installed, run: corepack enable
Just run and visit http://localhost:3333
pnpm dev
To build the App, run
pnpm build
And you will see the generated file in dist
that ready to be served.
pnpm test:unit
First, build the webapp image by opening the terminal in the project's root directory.
docker buildx build . -t webapp:latest
Run the image and specify port mapping with the -p
flag.
docker run --rm -it -p 8080:80 webapp:latest