Files
sbc-sip-sidecar/Dockerfile
T
Dave HortonandClaude Opus 4.8 8f47038f59 fix(docker): drop hardcoded --platform=linux/amd64 for arm64 builds
The base image was pinned to linux/amd64, so the arm64 build leg pulled the
amd64 image and failed with 'exec format error'. Remove the pin so each
platform builds on its native base (jambonz v11 arm64 support).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-11 10:24:32 -04:00

24 lines
317 B
Docker

FROM node:24-alpine AS base
RUN apk --update --no-cache add --virtual .builds-deps build-base python3
WORKDIR /opt/app/
FROM base AS build
COPY package.json package-lock.json ./
RUN npm ci
COPY . .
FROM base
COPY --from=build /opt/app /opt/app/
ARG NODE_ENV
ENV NODE_ENV=$NODE_ENV
CMD [ "node", "app.js" ]