mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 02:35:49 +00:00
feature(docker) add
This commit is contained in:
parent
a82aabb0ca
commit
32f2779a6c
4 changed files with 30 additions and 0 deletions
1
.dockerignore
Symbolic link
1
.dockerignore
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
.gitignore
|
||||
|
|
@ -1,3 +1,6 @@
|
|||
.travis.yml
|
||||
.appveyor.yml
|
||||
manifest.yml
|
||||
Dockerfile
|
||||
.dockerignore
|
||||
|
||||
|
|
|
|||
13
Dockerfile
Normal file
13
Dockerfile
Normal 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
13
HELP.md
|
|
@ -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.
|
||||
|
||||

|
||||
|
|
@ -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)**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue