Skip to content

SigNoz is an open-source, OpenTelemetry-native observability platform for your team and their AI agents. Get logs, metrics, and traces in one tool with features like APM, distributed tracing, log management, infra monitoring, etc. Combined with SigNoz MCP and a native AI teammate (in SigNoz Cloud) it helps you build more resilient apps.

chore(frontend): 🔧 support ARM and copy yarnrc in Dockerfile (#2119)

Prashant Shahi13f9922c53a7
diff --git a/Makefile b/Makefile
index 0847cc7dfe..d363e7039f 100644
--- a/Makefile
+++ b/Makefile
@@ -54,7 +54,7 @@ build-push-frontend:
@echo "--> Building and pushing frontend docker image"
@echo "------------------"
@cd $(FRONTEND_DIRECTORY) && \
- docker buildx build --file Dockerfile --progress plane --push --platform linux/amd64 \
+ docker buildx build --file Dockerfile --progress plane --push --platform linux/arm64,linux/amd64 \
--tag $(REPONAME)/$(FRONTEND_DOCKER_IMAGE):$(DOCKER_TAG) .
# Steps to build and push docker image of query service
diff --git a/frontend/Dockerfile b/frontend/Dockerfile
index 71188e71c9..145f205a9d 100644
--- a/frontend/Dockerfile
+++ b/frontend/Dockerfile
@@ -9,8 +9,9 @@ ARG TARGETARCH
WORKDIR /frontend
-# Copy the package.json to install dependencies
+# Copy the package.json and .yarnrc files prior to install dependencies
COPY package.json ./
+COPY .yarnrc ./
# Install the dependencies and make the folder
RUN CI=1 yarn install