testing making the bundle only on build platform
Build image / build (push) Successful in 1m41s Details

This commit is contained in:
Alie 2024-12-03 18:01:31 +01:00
parent 6eac217ed4
commit 916a1310f3
1 changed files with 1 additions and 1 deletions

View File

@ -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