Repo to store automated docker build for a flightplan environment
Based on a basic node environment with the flightplan CLI tool added.
Repo structure is based on the same version folder convention as official docker hub repos (e.g. python: https://github.com/docker-library/python). Implements ndoe modules install from grahamgilchrist/node-onbuild
- Mount a projects directory to
/usr/src/app
. The directory should contain:package.json
file loading the local flightplan moduleflightplan.js
(or equivalent) file holding your flight definitions- Anything else needed by flightplan (e.g. project files to deploy to remote server)
- Run the
fly task:server
command as if locally. See Flightplan docs docker run -v ./:/usr/src/app grahamgilchrist/flightplan:0.6 fly task:server
docker-compose.yaml
:
flightplan:
image: grahamgilchrist/flightplan:0.6
volumes:
- ./:/usr/src/app
docker-compose run flightplan fly task:server