From b9787c1b3f778ed21c8f5fbcdbc2ca239e564bde Mon Sep 17 00:00:00 2001 From: Sergey Kozyrenko Date: Wed, 8 Jan 2025 19:50:47 +0700 Subject: [PATCH] fix: Update DockerFile --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index f12a68d..a2451cd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,10 +11,10 @@ COPY ./backend/pkg/graph/schema.graphqls ../backend/pkg/graph/ COPY frontend/ . # Install dependencies with package manager detection for SBOM -RUN --mount=type=cache,target=/root/.yarn \ - yarn install --frozen-lockfile --production=false +RUN --mount=type=cache,target=/root/.npm \ + npm ci -RUN yarn build +RUN npm run build # STEP 2: Build the backend FROM golang:1.23-alpine as be-build