testing making the bundle only on build platform

This commit is contained in:
Alie 2024-12-03 18:01:31 +01:00
parent 6eac217ed4
commit c989f5a82b
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 RUN mkdir -p /temp/prod
COPY package*.json /temp/prod/ COPY package*.json /temp/prod/
RUN cd /temp/prod && npm install --frozen-lockfile RUN cd /temp/prod && npm install --frozen-lockfile