mirror of
https://github.com/kolbytn/mindcraft.git
synced 2025-03-28 14:56:24 +01:00
run in docker-compose: open prismarine viewer ports: update readme
This commit is contained in:
parent
2628f1a4de
commit
2ee94d7b60
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ You can configure project details in `settings.js`. [See file for more details](
|
|||
If you intent to `allow_insecure_coding`, it might be a good idea to put the whole app into a docker container to reduce risks of running unknown code.
|
||||
|
||||
```bash
|
||||
docker run -i -t --rm -v $(pwd):/app -w /app node:latest node main.js
|
||||
docker run -i -t --rm -v $(pwd):/app -w /app -p 3000-3003:3000-3003 node:latest node main.js
|
||||
```
|
||||
or simply
|
||||
```bash
|
||||
|
|
Loading…
Add table
Reference in a new issue