fix: Build on native platform (#2261)

This commit is contained in:
Kroese 2023-12-01 04:09:41 +01:00 committed by GitHub
parent 7f4493d4db
commit 07aba95f19
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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