fix Dockerfile

- update broken paths after restructure
This commit is contained in:
mauwii 2023-03-04 23:51:07 +01:00
parent c4e6d4b348
commit 2d9fac23e7
No known key found for this signature in database
GPG Key ID: D923DB04ADB3F5AB
2 changed files with 4 additions and 4 deletions

View File

@ -4,9 +4,9 @@
!ldm !ldm
!pyproject.toml !pyproject.toml
# ignore frontend but whitelist dist # ignore frontend/web but whitelist dist
invokeai/frontend/ invokeai/frontend/web/
!invokeai/frontend/dist/ !invokeai/frontend/web/dist/
# ignore invokeai/assets but whitelist invokeai/assets/web # ignore invokeai/assets but whitelist invokeai/assets/web
invokeai/assets/ invokeai/assets/

View File

@ -63,7 +63,7 @@ RUN --mount=type=cache,target=${PIP_CACHE_DIR} \
# Install requirements # Install requirements
COPY --link pyproject.toml . COPY --link pyproject.toml .
COPY --link ldm/invoke/_version.py ldm/invoke/__init__.py ldm/invoke/ COPY --link invokeai/version/invokeai_version.py invokeai/version/__init__.py invokeai/version/
ARG PIP_EXTRA_INDEX_URL ARG PIP_EXTRA_INDEX_URL
ENV PIP_EXTRA_INDEX_URL ${PIP_EXTRA_INDEX_URL} ENV PIP_EXTRA_INDEX_URL ${PIP_EXTRA_INDEX_URL}
RUN --mount=type=cache,target=${PIP_CACHE_DIR} \ RUN --mount=type=cache,target=${PIP_CACHE_DIR} \