Uses the official node Docker image.
Has the @astrojs/ node adapter preconfigured.
Will run npm install
when component is first initialized, and npm run dev
when deployment is started.
Will build a production ready image. Image runs npm install
& npm build
when being created. Once the image runs, npm start
is called.