From b5637aa9d72bad1ff8f845931494ceb326d72202 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julian=20T=C3=B6lle?= Date: Mon, 3 Apr 2023 22:06:05 +0200 Subject: [PATCH] ci: make sure that app runs in production mode Some modules select more performant behaviour based on this environment variable. --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index 1fb859e..dfeea0a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -60,6 +60,8 @@ LABEL org.opencontainers.image.title="listory" \ WORKDIR /app +ENV NODE_ENV=production + COPY package.json /app/ COPY package-lock.json /app/ RUN --mount=type=cache,target=/home/root/.npm \