feature(docker) add

This commit is contained in:
coderaiser 2015-12-09 13:39:19 -05:00
parent a82aabb0ca
commit 32f2779a6c
4 changed files with 30 additions and 0 deletions

1
.dockerignore Symbolic link
View file

@ -0,0 +1 @@
.gitignore

View file

@ -1,3 +1,6 @@
.travis.yml
.appveyor.yml
manifest.yml
Dockerfile
.dockerignore

13
Dockerfile Normal file
View file

@ -0,0 +1,13 @@
FROM node
RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app
COPY package.json /usr/src/app/
RUN npm install --production
COPY . /usr/src/app
EXPOSE 8000
CMD [ "npm", "start" ]

13
HELP.md
View file

@ -13,6 +13,8 @@ Cloud Commander v5.0.3
[EDWARD]: https://github.com/cloudcmd/edward "Editor based on Ace"
[EDWARD_KEYS]: https://github.com/cloudcmd/edward/#hot-keys "Edward Hot keys"
[Docker_URL]: https://docker.io "Docker"
**Cloud Commander** orthodox web file manager with console and editor. Will help you manage the server and work with files, directories and programs in browser from any computer, mobile or tablet.
![Cloud Commander](/img/logo/cloudcmd.png "Cloud Commander")
@ -396,6 +398,17 @@ ln -s ./sites-enabled/io.cloudcmd.io ./sites-available
/etc/init.d/nginx restart
```
Docker
---------------
`Cloud Commander` could be used as [docker][DOCKER_URL] container this way:
```sh
docker run -v ~:/root -v /:/mnt/fs -it -p 8000:8000 coderaiser/cloudcmd
```
Config would be read from home directory, hosts file system would be bined to `/mnt/fs`,
`8000` port would be exposed to hosts port.
Version history
---------------
- *2015.12.08*, **[v5.0.3](//github.com/cloudcmd/archive/raw/master/cloudcmd-v5.0.3.tar.gz)**