From 916a1310f3c05060c93842fbfb22068362ca6cca Mon Sep 17 00:00:00 2001 From: Alie Date: Tue, 3 Dec 2024 18:01:31 +0100 Subject: [PATCH] testing making the bundle only on build platform --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 0d0d648..42c709d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM node:23-alpine AS install +FROM --platform=$BUILDPLATFORM node:23-alpine AS install RUN mkdir -p /temp/prod COPY package*.json /temp/prod/ RUN cd /temp/prod && npm install --frozen-lockfile