mirror of
https://github.com/DI0IK/homepage-plus.git
synced 2025-07-06 20:28:48 +00:00
Use HOMEPAGE_BUILDTIME to revalidate container restart/recreate
This commit is contained in:
parent
a42c50f1cc
commit
6701e3bd77
4 changed files with 11 additions and 9 deletions
|
@ -29,7 +29,7 @@ COPY . .
|
|||
|
||||
SHELL ["/bin/ash", "-xeo", "pipefail", "-c"]
|
||||
RUN npm run telemetry \
|
||||
&& mkdir config && echo '---' > config/settings.yaml \
|
||||
&& mkdir config \
|
||||
&& NEXT_PUBLIC_BUILDTIME=$BUILDTIME NEXT_PUBLIC_VERSION=$VERSION NEXT_PUBLIC_REVISION=$REVISION npm run build
|
||||
|
||||
# Production image, copy all the files and run next
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue