mirror of
https://github.com/DI0IK/homepage-plus.git
synced 2025-07-07 05:08:46 +00:00
Support notification re deprecated repo
This commit is contained in:
parent
7adfe2ffd9
commit
aa5d24b9e4
4 changed files with 43 additions and 1 deletions
|
@ -23,6 +23,7 @@ WORKDIR /app
|
|||
ARG BUILDTIME
|
||||
ARG VERSION
|
||||
ARG REVISION
|
||||
ARG DEPRECATED_REPO
|
||||
|
||||
COPY --link --from=deps /app/node_modules ./node_modules/
|
||||
COPY . .
|
||||
|
@ -30,7 +31,7 @@ COPY . .
|
|||
SHELL ["/bin/ash", "-xeo", "pipefail", "-c"]
|
||||
RUN npm run telemetry \
|
||||
&& mkdir config \
|
||||
&& NEXT_PUBLIC_BUILDTIME=$BUILDTIME NEXT_PUBLIC_VERSION=$VERSION NEXT_PUBLIC_REVISION=$REVISION npm run build
|
||||
&& NEXT_PUBLIC_BUILDTIME=$BUILDTIME NEXT_PUBLIC_VERSION=$VERSION NEXT_PUBLIC_REVISION=$REVISION NEXT_PUBLIC_DEPRECATED_REPO=$DEPRECATED_REPO npm run build
|
||||
|
||||
# Production image, copy all the files and run next
|
||||
FROM docker.io/node:18-alpine AS runner
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue