From 45594d6d91da5836ada01473d8fbeb2ebeb2bdd7 Mon Sep 17 00:00:00 2001 From: Natty Date: Wed, 11 Oct 2023 20:09:40 +0000 Subject: [PATCH] Fixed Dockerfile for Podman --- Dockerfile | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/Dockerfile b/Dockerfile index d397fe01c..eb2143c1f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -18,17 +18,17 @@ RUN corepack enable WORKDIR /misskey -COPY --link ["pnpm-lock.yaml", "pnpm-workspace.yaml", "package.json", "./"] -COPY --link ["scripts", "./scripts"] -COPY --link ["packages/backend/package.json", "./packages/backend/"] -COPY --link ["packages/frontend/package.json", "./packages/frontend/"] -COPY --link ["packages/sw/package.json", "./packages/sw/"] -COPY --link ["packages/misskey-js/package.json", "./packages/misskey-js/"] +COPY ["pnpm-lock.yaml", "pnpm-workspace.yaml", "package.json", "./"] +COPY ["scripts", "./scripts"] +COPY ["packages/backend/package.json", "./packages/backend/"] +COPY ["packages/frontend/package.json", "./packages/frontend/"] +COPY ["packages/sw/package.json", "./packages/sw/"] +COPY ["packages/misskey-js/package.json", "./packages/misskey-js/"] RUN --mount=type=cache,target=/root/.local/share/pnpm/store,sharing=locked \ pnpm i --frozen-lockfile --aggregate-output -COPY --link . ./ +COPY . ./ ARG NODE_ENV=production @@ -48,9 +48,9 @@ RUN corepack enable WORKDIR /misskey -COPY --link ["pnpm-lock.yaml", "pnpm-workspace.yaml", "package.json", "./"] -COPY --link ["scripts", "./scripts"] -COPY --link ["packages/backend/package.json", "./packages/backend/"] +COPY ["pnpm-lock.yaml", "pnpm-workspace.yaml", "package.json", "./"] +COPY ["scripts", "./scripts"] +COPY ["packages/backend/package.json", "./packages/backend/"] RUN --mount=type=cache,target=/root/.local/share/pnpm/store,sharing=locked \ pnpm i --frozen-lockfile --aggregate-output