update Dockerfile

- remove yarn install args `--prefer-offline` and `--production=false`
This commit is contained in:
mauwii 2023-02-05 04:35:11 +01:00 committed by Matthias Wild
parent 9c3f548900
commit 394b4a771e

View File

@ -43,10 +43,8 @@ WORKDIR ${APPDIR}/invokeai/frontend
RUN \
--mount=type=cache,target=/usr/local/share/.cache/yarn \
yarn install \
--prefer-offline \
--frozen-lockfile \
--non-interactive \
--production=false
--non-interactive
# build frontend
RUN yarn build