diff --git a/Dockerfile.ops b/Dockerfile.ops index 3bf0f78..698c911 100644 --- a/Dockerfile.ops +++ b/Dockerfile.ops @@ -1,5 +1,5 @@ # syntax=docker/dockerfile:1.7 -FROM node:22-alpine AS build +FROM --platform=linux/amd64 node:22-alpine AS build WORKDIR /workspace COPY package.json ./package.json @@ -19,7 +19,7 @@ RUN cd ops-platform && \ VITE_API_BASE_URL=${OPS_API_BASE_URL} \ yarn build -FROM nginx:1.27-alpine +FROM --platform=linux/amd64 nginx:1.27-alpine COPY nginx/ops.conf /etc/nginx/conf.d/default.conf COPY --from=build /workspace/ops-platform/dist /usr/share/nginx/html diff --git a/Dockerfile.tenant b/Dockerfile.tenant index 3f29374..f9634ef 100644 --- a/Dockerfile.tenant +++ b/Dockerfile.tenant @@ -1,5 +1,5 @@ # syntax=docker/dockerfile:1.7 -FROM node:22-alpine AS build +FROM --platform=linux/amd64 node:22-alpine AS build WORKDIR /workspace COPY package.json ./package.json @@ -22,7 +22,7 @@ RUN cd tenant-platform && \ RUN cd docs-site && yarn build -FROM nginx:1.27-alpine +FROM --platform=linux/amd64 nginx:1.27-alpine COPY nginx/tenant.conf /etc/nginx/conf.d/default.conf COPY --from=build /workspace/tenant-platform/dist /usr/share/nginx/html/tenant