mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-18 00:47:01 +00:00
feature(docker) entrypoint: npm start -- -> bin/cloudcmd.js
This commit is contained in:
parent
4e3f730254
commit
2a5002dc8d
3 changed files with 3 additions and 3 deletions
|
|
@ -10,5 +10,5 @@ COPY . /usr/src/app
|
|||
|
||||
EXPOSE 8000
|
||||
|
||||
ENTRYPOINT: ["npm", "start", "--"]
|
||||
ENTRYPOINT: ["bin/cloudcmd.js"]
|
||||
|
||||
|
|
|
|||
|
|
@ -10,5 +10,5 @@ COPY . /usr/src/app
|
|||
|
||||
EXPOSE 8000
|
||||
|
||||
ENTRYPOINT: ["npm", "start", "--"]
|
||||
ENTRYPOINT: ["bin/cloudcmd.js"]
|
||||
|
||||
|
|
|
|||
2
HELP.md
2
HELP.md
|
|
@ -416,7 +416,7 @@ Docker
|
|||
`Cloud Commander` could be used as [docker container](https://hub.docker.com/r/coderaiser/cloudcmd/ "Docker container") this way:
|
||||
|
||||
```sh
|
||||
docker run -v ~:/root -v /:/mnt/fs -it -p 8000:8000 coderaiser/cloudcmd
|
||||
docker run -v ~:/root -v /:/mnt/fs -t -p 8000:8000 coderaiser/cloudcmd
|
||||
```
|
||||
|
||||
Config would be read from home directory, hosts root file system would be mount to `/mnt/fs`,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue