Skip to content

Commit

Permalink
Update Dockerfile to use NODE_ENV=development
Browse files Browse the repository at this point in the history
This sets the Node environment to a development environment when running
`npm install` against the target architecture.

Signed-off-by: Stacy Kim <[email protected]>
  • Loading branch information
kimstacy committed Oct 17, 2023
1 parent 604f996 commit 7ee8fae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 . .

Expand Down

0 comments on commit 7ee8fae

Please sign in to comment.