Add support for multi-platform builds with docker buildx
- also added docs
This commit is contained in:
parent
d85efbad60
commit
108b19970b
4 changed files with 33 additions and 20 deletions
12
docs/docker.md
Normal file
12
docs/docker.md
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
# Docker Setup
|
||||
|
||||
## Build Image:
|
||||
`docker build -t tshock .`
|
||||
## and run:
|
||||
```bash
|
||||
docker run -p 7777:7777 -p 7878:7878 \
|
||||
-v <save path>:/tshock \
|
||||
-v <world path>:/worlds \
|
||||
-v <plugin path>:/plugins \
|
||||
--rm -it tshock [-world /worlds/<world file>] <other cmdline flags>
|
||||
```
|
||||
Loading…
Add table
Add a link
Reference in a new issue