Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

chore: update dockerfile

d-bytebase6a2abf629709
diff --git a/scripts/Dockerfile b/scripts/Dockerfile
index e9c8fe117a..68c1a2b6e9 100644
--- a/scripts/Dockerfile
+++ b/scripts/Dockerfile
@@ -16,8 +16,7 @@ WORKDIR /frontend-build
COPY . .
-RUN pnpm --dir frontend install --frozen-lockfile
-RUN cd frontend & pnpm ${RELEASE}-docker
+RUN cd frontend && pnpm install --frozen-lockfile && pnpm ${RELEASE}-docker
FROM golang:1.21.3 as backend
ADD go.mod go.sum /
diff --git a/scripts/Dockerfile.render-demo b/scripts/Dockerfile.render-demo
index dcab049814..3b1383a83c 100644
--- a/scripts/Dockerfile.render-demo
+++ b/scripts/Dockerfile.render-demo
@@ -10,8 +10,7 @@ WORKDIR /frontend-build
COPY . .
-RUN pnpm --dir frontend install --frozen-lockfile
-RUN cd frontend & pnpm ${RELEASE}-docker
+RUN cd frontend && pnpm install --frozen-lockfile && pnpm ${RELEASE}-docker
FROM golang:1.21.3 as backend
ADD go.mod go.sum /