refactor(docker): use configurable SLHAF_HUB_IMAGE in compose instead of local build
This commit is contained in:
@@ -1,12 +1,6 @@
|
||||
services:
|
||||
slhaf-hub:
|
||||
build:
|
||||
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
|
||||
image: ${SLHAF_HUB_IMAGE:-docker.io/slhafzjw/slhaf-hub:latest}
|
||||
container_name: slhaf-hub
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
|
||||
Reference in New Issue
Block a user