fix(Docker): improve build and compose files (#255)

* fix(Docker): improve build and compose files

- Adapted `Dockerfile` so the PWD will point to the `/config` folder in the image
- Modified the `docker-compose.yml` to follow the Dockerfile logic
- Added a LABEL to the docker image so it points to the source code

* refactor(Dockerfile): comment WORKDIR /config instruction

* feat(Dockerfile): move back to `/pumpkin` as root folder
This commit is contained in:
Andreas Maerten
2024-11-14 19:17:48 +01:00
committed by GitHub
parent 653caa0a30
commit 1ae9c99b2d
2 changed files with 19 additions and 5 deletions

View File

@@ -4,5 +4,4 @@ services:
ports:
- 25565:25565
volumes:
- ./configuration.toml:/pumpkin/configuration.toml
- ./features.toml:/pumpkin/features.toml
- ./data:/pumpkin