diff --git a/Dockerfile b/Dockerfile index d15162a..9c17828 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,7 +11,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ && rm -rf /var/lib/apt/lists/* RUN ARCH=$(dpkg --print-architecture) \ - && NODE_ARCH=${ARCH/amd64/x64} \ + && if [ "$ARCH" = "amd64" ]; then NODE_ARCH="x64"; else NODE_ARCH="$ARCH"; fi \ && echo "Downloading Node.js v23.11.0 for ${NODE_ARCH}" \ && curl -fsSL "https://nodejs.org/dist/v23.11.0/node-v23.11.0-linux-${NODE_ARCH}.tar.gz" \ -o /tmp/node.tar.gz \