From 071d5f198cbf1f61e6c073343346ace596a857cb Mon Sep 17 00:00:00 2001 From: David Date: Tue, 10 Feb 2026 22:48:23 +0100 Subject: [PATCH] fix --- .github/workflows/ci.yml | 4 ++-- apps/backend/.dockerignore | 1 - apps/backend/Dockerfile | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ee25f46..c455d3f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -70,7 +70,7 @@ jobs: labels: ${{ steps.meta.outputs.labels }} cache-from: type=registry,ref=${{ env.REGISTRY }}/xpeditis-backend:buildcache cache-to: type=registry,ref=${{ env.REGISTRY }}/xpeditis-backend:buildcache,mode=max - platforms: linux/amd64,linux/arm64 + platforms: linux/amd64 # ============================================ # Frontend Build, Test & Deploy @@ -138,7 +138,7 @@ jobs: labels: ${{ steps.meta.outputs.labels }} cache-from: type=registry,ref=${{ env.REGISTRY }}/xpeditis-frontend:buildcache cache-to: type=registry,ref=${{ env.REGISTRY }}/xpeditis-frontend:buildcache,mode=max - platforms: linux/amd64,linux/arm64 + platforms: linux/amd64 build-args: | NEXT_PUBLIC_API_URL=${{ secrets.NEXT_PUBLIC_API_URL || 'http://localhost:4000' }} NEXT_PUBLIC_APP_URL=${{ secrets.NEXT_PUBLIC_APP_URL || 'http://localhost:3000' }} diff --git a/apps/backend/.dockerignore b/apps/backend/.dockerignore index da0d9d2..0ec4346 100644 --- a/apps/backend/.dockerignore +++ b/apps/backend/.dockerignore @@ -2,7 +2,6 @@ node_modules npm-debug.log yarn-error.log -package-lock.json yarn.lock pnpm-lock.yaml diff --git a/apps/backend/Dockerfile b/apps/backend/Dockerfile index 17e02df..19371af 100644 --- a/apps/backend/Dockerfile +++ b/apps/backend/Dockerfile @@ -14,7 +14,7 @@ COPY package*.json ./ COPY tsconfig*.json ./ # Install all dependencies (including dev for build) -RUN npm install --legacy-peer-deps +RUN npm ci --legacy-peer-deps # =============================================== # Stage 2: Build Application