Merge pull request #2920 from bluewave-labs/fix/arm

fix/arm
This commit is contained in:
Alexander Holliday
2025-09-04 15:44:44 -07:00
committed by GitHub
2 changed files with 10 additions and 9 deletions

View File

@@ -2,6 +2,7 @@ services:
server:
image: ghcr.io/bluewave-labs/checkmate-backend-mono-multiarch:latest
restart: always
pull_policy: always
ports:
- "52345:52345"
environment:
@@ -16,7 +17,7 @@ services:
mongodb:
image: mongo:4.4.18
restart: always
command: ["mongod", "--quiet", --bind_ip_all"]
command: ["mongod", "--quiet", "--bind_ip_all"]
ports:
- "27017:27017"
volumes:

View File

@@ -1,30 +1,30 @@
# ---------------------
# Frontend build stage
# ---------------------
FROM --platform=$BUILDPLATFORM node:24-slim AS frontend-build
FROM node:24-slim AS frontend-build
WORKDIR /app/client
COPY client/package*.json ./
COPY client/package.json ./
RUN npm ci
RUN npm install
RUN npm install esbuild@0.25.5 --build-from-source
COPY client ./
RUN npm rebuild esbuild
RUN npm run build
# ---------------------
# Backend stage
# ---------------------
FROM --platform=$BUILDPLATFORM node:24-slim AS backend
FROM node:24-slim AS backend
WORKDIR /app/server
COPY server/package*.json ./
COPY server/package.json ./
RUN npm ci
RUN npm install
COPY server ./