From 7ee8fae31ae067e16958d07f2ae0c01ea2a91a7c Mon Sep 17 00:00:00 2001 From: Stacy Kim Date: Mon, 16 Oct 2023 21:21:42 -0700 Subject: [PATCH] Update `Dockerfile` to use `NODE_ENV=development` This sets the Node environment to a development environment when running `npm install` against the target architecture. Signed-off-by: Stacy Kim --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index baf137fcc..650ebe4ea 100644 --- a/Dockerfile +++ b/Dockerfile @@ -19,7 +19,7 @@ COPY patches/ patches/ ARG TARGETOS # TARGETARCH is an automatic platform ARG enabled by Docker BuildKit. ARG TARGETARCH -RUN npm --target_arch=${TARGETARCH} install +RUN NODE_ENV=development npm --target_arch=${TARGETARCH} install COPY . .