change build
This commit is contained in:
@@ -5,6 +5,10 @@ RUN npm install
|
|||||||
|
|
||||||
FROM node:22.20.0 AS builder
|
FROM node:22.20.0 AS builder
|
||||||
WORKDIR /no-copy-frontend
|
WORKDIR /no-copy-frontend
|
||||||
|
|
||||||
|
ARG SESSION_SECRET
|
||||||
|
ENV SESSION_SECRET=${SESSION_SECRET}
|
||||||
|
|
||||||
COPY . .
|
COPY . .
|
||||||
COPY --from=dependencies /no-copy-frontend/node_modules ./node_modules
|
COPY --from=dependencies /no-copy-frontend/node_modules ./node_modules
|
||||||
RUN npm run build
|
RUN npm run build
|
||||||
|
|||||||
Reference in New Issue
Block a user