add build front time

This commit is contained in:
vladp
2026-02-11 19:28:16 +07:00
parent 459035529c
commit 659d307a12
+3
View File
@@ -6,6 +6,9 @@ RUN npm install
FROM node:22.20.0 AS builder
WORKDIR /no-copy-frontend
ARG BUILD_TIME_FRONT
ENV NEXT_PUBLIC_BUILD_TIME_FRONT=$BUILD_TIME_FRONT
COPY . .
COPY --from=dependencies /no-copy-frontend/node_modules ./node_modules
RUN rm -rf .next && npm run build --force