This image includes all necessary tools to use Foundation CLI, the command-line interface for Foundation frameworks.
docker build -t nicoplv/foundation 'PATH_TO_DOCKERFILE'
or
docker pull nicoplv/foundation
Starts the setup process for a new Foundation project. The CLI will ask you which framework you want to use and a folder name for the project.
docker run -it --rm -v 'PATH_TO_PARENT_FOLDER':/home/foundation nicoplv/foundation foundation new
While inside of your app's folder, use this command to assemble your app automatically when a change appear.
docker run -it --rm -v 'PATH_TO_FOUNDATION_FOLDER':/home/foundation nicoplv/foundation
To build your app for production
docker run -it --rm -v 'PATH_TO_FOUNDATION_FOLDER':/home/foundation nicoplv/foundation foundation build
Run this command to update an existing project to the newest version of Foundation.
docker run -it --rm -v 'PATH_TO_FOUNDATION_FOLDER':/home/foundation nicoplv/foundation foundation update