aboutsummaryrefslogtreecommitdiffstats
path: root/Dockerfile
diff options
context:
space:
mode:
authorJP Dillingham <jp@dillingham.me>2023-12-18 17:40:54 -0600
committerJP Dillingham <jp@dillingham.me>2023-12-18 18:30:25 -0600
commit2c7affb582656a20b70a6721ef3f49b8bf6bffce (patch)
tree5a57904e192c6da762dc501d954715a780fabf81 /Dockerfile
parentbcde142de1a7fb18293f87cccf9fabce55f4c72a (diff)
downloadslskd-2c7affb582656a20b70a6721ef3f49b8bf6bffce.tar.gz
undo --platform
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile3
1 files changed, 2 insertions, 1 deletions
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