ci: make sure that app runs in production mode

Some modules select more performant behaviour based on this environment
variable.
This commit is contained in:
Julian Tölle 2023-04-03 22:06:05 +02:00
parent 54b04b814e
commit b5637aa9d7

View file

@ -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 \