From 6e3a483257147a16df1b19383f2fe07976ab46ee Mon Sep 17 00:00:00 2001 From: stone-w4tch3r <100294019+stone-w4tch3r@users.noreply.github.com> Date: Mon, 29 Jul 2024 20:56:33 +0500 Subject: [PATCH] try fix build errors --- Dockerfile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 8466159..0c325bb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -42,16 +42,16 @@ RUN --mount=type=cache,target=/var/cache/apt \ COPY . /pake WORKDIR /pake -# Install dependencies and build pake-cli -RUN --mount=type=cache,target=/root/.npm \ - npm install && \ - npm run build - # Copy Rust build artifacts COPY --from=cargo-builder /pake/src-tauri /pake/src-tauri COPY --from=cargo-builder /cargo-cache/git /usr/local/cargo/git COPY --from=cargo-builder /cargo-cache/registry /usr/local/cargo/registry +# Install dependencies and build pake-cli +RUN --mount=type=cache,target=/root/.npm \ + npm install && \ + npm run build + # Set up the entrypoint WORKDIR /output ENTRYPOINT ["node", "/pake/cli.js"]