Ensure docker file uses context of the current source application
This commit is contained in:
parent
c3b37db914
commit
dc6be5857b
1 changed files with 3 additions and 2 deletions
|
@ -1,7 +1,8 @@
|
||||||
version: '3.1'
|
version: '3.1'
|
||||||
services:
|
services:
|
||||||
minecraft-exporter:
|
minecraft-exporter:
|
||||||
image: 'joshi425/minecraft_exporter'
|
build:
|
||||||
|
context: .
|
||||||
environment:
|
environment:
|
||||||
RCON_HOST:
|
RCON_HOST:
|
||||||
RCON_PORT:
|
RCON_PORT:
|
||||||
|
@ -9,4 +10,4 @@ services:
|
||||||
ports:
|
ports:
|
||||||
- 9700:8000
|
- 9700:8000
|
||||||
volumes:
|
volumes:
|
||||||
- /path/to/minecraft/world:/world:ro
|
- ./world:/world:ro
|
||||||
|
|
Loading…
Reference in a new issue