From 2c7affb582656a20b70a6721ef3f49b8bf6bffce Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Mon, 18 Dec 2023 17:40:54 -0600 Subject: undo --platform --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Dockerfile') diff --git a/Dockerfile b/Dockerfile index 94174a9b..b405eee2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,5 @@ # build static web content +# note: pin this to amd64 to speed it up, it is prohibitively slow under QEMU FROM --platform=$BUILDPLATFORM node:18-alpine3.18 AS web ARG VERSION=0.0.1.65534-local @@ -31,7 +32,7 @@ RUN bash ./bin/build --dotnet-only --version $VERSION RUN bash ./bin/publish --no-prebuild --platform $TARGETPLATFORM --version $VERSION --output ../../dist/${TARGETPLATFORM} # application -FROM --platform=$BUILDPLATFORM mcr.microsoft.com/dotnet/runtime-deps:7.0-bookworm-slim AS slskd +FROM mcr.microsoft.com/dotnet/runtime-deps:7.0-bookworm-slim AS slskd ARG TARGETPLATFORM ARG TAG=0.0.1 ARG VERSION=0.0.1.65534-local -- cgit v1.2.3