mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
Update dockerignore, set venv to 3.10, pass cache to yarn vite buidl
This commit is contained in:
parent
674f42ba9a
commit
a674fff17a
@ -4,4 +4,6 @@
|
|||||||
!docker/docker-entrypoint.sh
|
!docker/docker-entrypoint.sh
|
||||||
!LICENSE
|
!LICENSE
|
||||||
|
|
||||||
node_modules
|
**/node_modules
|
||||||
|
**/__pycache__
|
||||||
|
**/*.egg-info
|
@ -10,7 +10,7 @@ RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \
|
|||||||
--mount=type=cache,target=/var/lib/apt,sharing=locked \
|
--mount=type=cache,target=/var/lib/apt,sharing=locked \
|
||||||
apt update && apt-get install -y \
|
apt update && apt-get install -y \
|
||||||
git \
|
git \
|
||||||
python3-venv \
|
python3.10-venv \
|
||||||
python3-pip \
|
python3-pip \
|
||||||
build-essential
|
build-essential
|
||||||
|
|
||||||
@ -64,7 +64,8 @@ WORKDIR /build
|
|||||||
COPY invokeai/frontend/web/ ./
|
COPY invokeai/frontend/web/ ./
|
||||||
RUN --mount=type=cache,target=node_modules \
|
RUN --mount=type=cache,target=node_modules \
|
||||||
npm install --include dev
|
npm install --include dev
|
||||||
RUN yarn vite build
|
RUN --mount=type=cache,target=node_modules \
|
||||||
|
yarn vite build
|
||||||
|
|
||||||
|
|
||||||
#### Runtime stage ---------------------------------------
|
#### Runtime stage ---------------------------------------
|
||||||
|
Loading…
Reference in New Issue
Block a user