Files
cloudron-box/package.json
T
Girish Ramakrishnan 676a1adff1 Setup app data volume with /app/data of container
It turns out that mounting a host path in /app/data will shadow
the contents of the container /app/data. I expected docker to
copy all files from /app/data of container into the volume.
Since docker doesn't do this for us, we have to copy over the
contents ourselves before we start the container.

https://github.com/dotcloud/docker/issues/1992

Without this change, every app that has any 'initial' config
will have to basically write a setup script which has to run
on startup.

This changes is a little untested because volume mounting cannot
be tested on the Mac through boot2docker.

Notes:
1. The VOLUME cmd in Dockerfile merely exposes the directory to
be available for other container to mount as volumes (i.e they
will be available for --volumes-from)
2014-06-06 13:46:05 -07:00

66 lines
1.6 KiB
JSON

{
"name": "yellowtent",
"description": "Yellow tent",
"version": "0.0.1",
"private": "true",
"author": {
"name": "Yellow tent authors",
"email": "doesntexist@gmail.com"
},
"repository": {
"type": "git",
"url": "https://github.com/gramakri/yellowtent.git"
},
"engines": [
"node >= 0.10.0"
],
"bin": {
"yellowtent": "./server.js"
},
"dependencies": {
"async": "^0.6.2",
"commander": "^2.2.0",
"connect-ensure-login": "^0.1.1",
"debug": "^0.8.0",
"dockerode": "^1.3.0",
"ejs": "^1.0.0",
"encfs": "^0.1.1",
"express": "4.2.0",
"js-yaml": "^3.0.2",
"mime": "^1.2.11",
"mkdirp": "^0.3.5",
"node-uuid": "^1.4.1",
"oauth2orize": "^1.0.1",
"once": "^1.3.0",
"optimist": "^0.6.1",
"passport": "^0.2.0",
"passport-http": "^0.2.2",
"passport-http-bearer": "^1.0.1",
"passport-local": "^1.0.0",
"passport-oauth2-client-password": "^0.1.1",
"readdirp": "^1.0.1",
"rimraf": "^2.2.6",
"safetydance": "0.0.11",
"superagent": "^0.17.0",
"ursa": "^0.8.0",
"morgan": "1.0.1",
"connect-timeout": "1.1.0",
"express-session": "1.1.0",
"serve-favicon": "2.0.0",
"cookie-parser": "1.1.0",
"body-parser": "1.2.0",
"multiparty": "3.2.6",
"sqlite3": "2.2.3",
"tar": "^0.1.19"
},
"devDependencies": {
"mocha": "*",
"istanbul": "*",
"apidoc": "*",
"expect.js": "*"
},
"scripts": {
"test": "./node_modules/istanbul/lib/cli.js test $1 ./node_modules/mocha/bin/_mocha -- -R spec ./src/test ./src/routes/test"
}
}