Versions are based on official node versions.
During development, you can directly run this container by simply mounting your source code into /usr/src/app.
# Install all dependencies
docker run --rm -it -v "$(pwd):/usr/src/app" mage/mage npm install
# Run MAGE
docker run --rm -it -v "$(pwd):/usr/src/app" mage/mageGenerally, you will want to start a bash shell and run your npm commands from it.
docker run --rm -it -v "$(pwd):/usr/src/app" mage/mage bashYou will likely want to build your own custom image for production use.
FROM mage/mage
# Add your custom steps hereThis image works as an onbuild image. Your code will automatically be added to this image,
then npm install will be executed to install all dependencies.
MIT.