Skip to content

Commit 4abc6c1

Browse files
fix
1 parent 82afa3d commit 4abc6c1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Dockerfile

+3-3
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ COPY --link ["packages/misskey-bubble-game/package.json", "./packages/misskey-bu
2929

3030
ARG NODE_ENV=production
3131

32-
RUN wget -qO- https://get.pnpm.io/install.sh | ENV="$HOME/.bashrc" SHELL="$(which bash)" bash -
32+
RUN wget -qO- https://get.pnpm.io/install.sh | ENV="$HOME/.shrc" SHELL="$(which sh)" sh -
3333

3434
RUN --mount=type=cache,target=/root/.local/share/pnpm/store,sharing=locked \
3535
pnpm i --frozen-lockfile --aggregate-output
@@ -59,7 +59,7 @@ COPY --link ["packages/misskey-bubble-game/package.json", "./packages/misskey-bu
5959

6060
ARG NODE_ENV=production
6161

62-
RUN wget -qO- https://get.pnpm.io/install.sh | ENV="$HOME/.bashrc" SHELL="$(which bash)" bash -
62+
RUN wget -qO- https://get.pnpm.io/install.sh | ENV="$HOME/.shrc" SHELL="$(which sh)" sh -
6363

6464
RUN --mount=type=cache,target=/root/.local/share/pnpm/store,sharing=locked \
6565
pnpm i --frozen-lockfile --aggregate-output
@@ -86,7 +86,7 @@ WORKDIR /misskey
8686
# add package.json to add pnpm
8787
COPY --chown=misskey:misskey ./package.json ./package.json
8888

89-
RUN wget -qO- https://get.pnpm.io/install.sh | ENV="$HOME/.bashrc" SHELL="$(which bash)" bash -
89+
RUN wget -qO- https://get.pnpm.io/install.sh | ENV="$HOME/.shrc" SHELL="$(which sh)" sh -
9090

9191
COPY --chown=misskey:misskey --from=target-builder /misskey/node_modules ./node_modules
9292
COPY --chown=misskey:misskey --from=target-builder /misskey/packages/backend/node_modules ./packages/backend/node_modules

0 commit comments

Comments
 (0)