SHA as Build ARG (#30)

This commit is contained in:
AbdBarho
2022-09-04 09:12:07 +02:00
committed by GitHub
parent ae834cb764
commit 082876aab3
3 changed files with 10 additions and 5 deletions

View File

@@ -2,7 +2,12 @@ version: '3.9'
services:
model:
build: ./build/
build:
context: ./build/
args:
# You can choose any commit sha from https://github.com/hlky/stable-diffusion/commits/main
# USE AT YOUR OWN RISK! otherwise just leave it empty.
WEBUI_SHA:
restart: on-failure
ports:
- "7860:7860"