mirror of
https://github.com/weidaoli/betterenderchests.git
synced 2026-03-31 19:32:32 +08:00
24 lines
450 B
YAML
24 lines
450 B
YAML
version: '3.8'
|
|
|
|
services:
|
|
build:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile
|
|
volumes:
|
|
- ./build:/app/build
|
|
command: sh -c "cp /output/*.jar /app/build/ 2>/dev/null || echo 'Build complete'"
|
|
|
|
dev:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile
|
|
volumes:
|
|
- .:/app
|
|
- gradle-cache:/root/.gradle
|
|
working_dir: /app
|
|
command: ./gradle/bin/gradle runClient --no-daemon
|
|
|
|
volumes:
|
|
gradle-cache:
|