refactor(docker): use configurable SLHAF_HUB_IMAGE in compose instead of local build
This commit is contained in:
@@ -1,12 +1,6 @@
|
|||||||
services:
|
services:
|
||||||
slhaf-hub:
|
slhaf-hub:
|
||||||
build:
|
image: ${SLHAF_HUB_IMAGE:-docker.io/slhafzjw/slhaf-hub:latest}
|
||||||
context: .
|
|
||||||
dockerfile: Dockerfile
|
|
||||||
args:
|
|
||||||
BUILD_IMAGE: ${BUILD_IMAGE:-gradle:9.0.0-jdk17}
|
|
||||||
RUNTIME_IMAGE: ${RUNTIME_IMAGE:-eclipse-temurin:17-jre}
|
|
||||||
image: slhaf-hub:latest
|
|
||||||
container_name: slhaf-hub
|
container_name: slhaf-hub
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
ports:
|
ports:
|
||||||
|
|||||||
Reference in New Issue
Block a user