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 \ RUN \
--mount=type=cache,target=/usr/local/share/.cache/yarn \ --mount=type=cache,target=/usr/local/share/.cache/yarn \
yarn install \ yarn install \
--prefer-offline \
--frozen-lockfile \ --frozen-lockfile \
--non-interactive \ --non-interactive
--production=false
# build frontend # build frontend
RUN yarn build RUN yarn build