mirror of
https://github.com/Merith-TK/docker-vintagestory
synced 2025-01-19 06:40:26 +00:00
570 B
570 B
Create custom docker image
You can use this Dockerfile
to create your own serverconfig using devidian/vintagestory
as base. Just edit serverconfig.json and run docker build -t YOUR_IMAGE_NAME
. You may also add / override additional files like mods.
Run custom docker image
to run the image you can either use docker run -pd 42420:42420 --name VintageStoryServer YOUR_IMAGE_NAME
or use the composer file as follows (dont forget to change YOUR_IMAGE_NAME
in docker-composer.yml
)
cd run;
#start
docker-compose up -d
#stop
docker-compose down