mirror of
https://github.com/apricote/Listory.git
synced 2026-02-07 10:17:02 +00:00
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:
parent
54b04b814e
commit
b5637aa9d7
1 changed files with 2 additions and 0 deletions
|
|
@ -60,6 +60,8 @@ LABEL org.opencontainers.image.title="listory" \
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
|
ENV NODE_ENV=production
|
||||||
|
|
||||||
COPY package.json /app/
|
COPY package.json /app/
|
||||||
COPY package-lock.json /app/
|
COPY package-lock.json /app/
|
||||||
RUN --mount=type=cache,target=/home/root/.npm \
|
RUN --mount=type=cache,target=/home/root/.npm \
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue