From 07aba95f196555d03834edfef8381107ebad7775 Mon Sep 17 00:00:00 2001 From: Kroese Date: Fri, 1 Dec 2023 04:09:41 +0100 Subject: [PATCH] fix: Build on native platform (#2261) --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 43758410..377bdc06 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM node:20-alpine as builder +FROM --platform=$BUILDPLATFORM node:20-alpine as builder # Upgrade to edge to fix sharp/libvips issues RUN echo "https://dl-cdn.alpinelinux.org/alpine/edge/main" > /etc/apk/repositories