mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
3f6d0fb7da
* update dockerfile * remove not existing file from .dockerignore * remove bloat and unecesary step also use --no-cache-dir for pip install image is now close to 2GB * make Dockerfile a variable * set base image to `ubuntu:22.10` * add build-essential * link outputs folder for persistence * update tag variable * update docs * fix not customizeable build args, add reqs output
14 lines
305 B
Bash
14 lines
305 B
Bash
#!/usr/bin/env bash
|
|
|
|
project_name=${PROJECT_NAME:-invokeai}
|
|
volumename=${VOLUMENAME:-${project_name}_data}
|
|
arch=${ARCH:-x86_64}
|
|
platform=${PLATFORM:-Linux/${arch}}
|
|
invokeai_tag=${INVOKEAI_TAG:-${project_name}:${arch}}
|
|
|
|
export project_name
|
|
export volumename
|
|
export arch
|
|
export platform
|
|
export invokeai_tag
|