add build front time
This commit is contained in:
@@ -6,9 +6,6 @@ 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 BUILD_TIME_FRONT
|
|
||||||
ENV NEXT_PUBLIC_BUILD_TIME_FRONT=$BUILD_TIME_FRONT
|
|
||||||
|
|
||||||
COPY . .
|
COPY . .
|
||||||
COPY --from=dependencies /no-copy-frontend/node_modules ./node_modules
|
COPY --from=dependencies /no-copy-frontend/node_modules ./node_modules
|
||||||
RUN rm -rf .next && npm run build --force
|
RUN rm -rf .next && npm run build --force
|
||||||
|
|||||||
Reference in New Issue
Block a user