link caching directory
invokeai converts models into diffuser format and caches them. We don't want to have to regenerate this cache each time we rebuild container, but it will take a LOT of space on the local drive.
This commit is contained in:
parent
62aa878b46
commit
f60d2b787e
@ -145,6 +145,7 @@ RUN rm -rf ${INVOKEAI_ROOT}/models/core/upscaling/realesrgan && \
|
||||
ln -s /data/models/RealESRGAN ${INVOKEAI_ROOT}/models/core/upscaling/realesrgan
|
||||
RUN rm -rf ${INVOKEAI_ROOT}/models/core/convert && \
|
||||
ln -s /data/models/invoke/ ${INVOKEAI_ROOT}/models/core/convert
|
||||
RUN ln -s /data/config/invoke/.cache ${INVOKEAI_ROOT}/models/
|
||||
|
||||
#COPY docker/docker-entrypoint.sh ./
|
||||
RUN cp ${INVOKEAI_SRC}/docker/docker-entrypoint.sh ./
|
||||
|
Loading…
Reference in New Issue
Block a user