From eada54d8c85f324d0ffa5331739fa88352a2b50b Mon Sep 17 00:00:00 2001 From: Agus Arya <190161908+auttomus@users.noreply.github.com> Date: Sun, 7 Jun 2026 16:26:28 +0800 Subject: [PATCH 1/2] Apply suggested fix to frontend/Dockerfile from Copilot Autofix Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com> --- frontend/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/Dockerfile b/frontend/Dockerfile index afee786..9b231c0 100644 --- a/frontend/Dockerfile +++ b/frontend/Dockerfile @@ -30,4 +30,4 @@ COPY --chown=node:node --from=build /app/build ./build COPY --chown=node:node package.json ./ EXPOSE 3000 -CMD ["npm", "run", "start"] \ No newline at end of file +CMD ["pnpm", "start"] \ No newline at end of file From 7b8818d93adc001a7099a92ff9a98585d195c469 Mon Sep 17 00:00:00 2001 From: Agus Arya <190161908+auttomus@users.noreply.github.com> Date: Sun, 7 Jun 2026 16:26:28 +0800 Subject: [PATCH 2/2] Apply suggested fix to frontend/Dockerfile from Copilot Autofix Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com> --- frontend/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/Dockerfile b/frontend/Dockerfile index 9b231c0..4b5a177 100644 --- a/frontend/Dockerfile +++ b/frontend/Dockerfile @@ -12,7 +12,7 @@ RUN pnpm install --ignore-scripts FROM base AS prod-deps WORKDIR /app COPY package.json pnpm-lock.yaml ./ -# Koreksi di sini +# Install only production dependencies and skip lifecycle scripts RUN pnpm install --prod --ignore-scripts FROM base AS build