Skip to content
Snippets Groups Projects
Unverified Commit d9541a7d authored by tamaina's avatar tamaina Committed by GitHub
Browse files

fix: Update Dockerfile (#9292)

- copy .yarn/install-state.gz
- add --immutable to yarn install
parent 73351532
No related branches found
No related tags found
No related merge requests found
......@@ -9,7 +9,7 @@ COPY . ./
RUN apt-get update
RUN apt-get install -y build-essential
RUN git submodule update --init
RUN yarn install
RUN yarn install --immutable
RUN yarn build
RUN rm -rf .git
......@@ -20,6 +20,7 @@ WORKDIR /misskey
RUN apt-get update
RUN apt-get install -y ffmpeg tini
COPY --from=builder /misskey/.yarn/install-state.gz ./.yarn/install-state.gz
COPY --from=builder /misskey/node_modules ./node_modules
COPY --from=builder /misskey/built ./built
COPY --from=builder /misskey/packages/backend/node_modules ./packages/backend/node_modules
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment