nodejs: use lts as version tag

Signed-off-by: Philip H <47042125+pheiduck@users.noreply.github.com>
This commit is contained in:
Philip H 2024-08-19 14:30:41 +02:00
parent 8145809e22
commit 352a022f30
No known key found for this signature in database
GPG Key ID: DA39C2199C603FA5
3 changed files with 4 additions and 4 deletions

View File

@ -18,7 +18,7 @@ jobs:
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: '20'
node-version: 'lts/*'
check-latest: true
cache: 'npm'

View File

@ -20,7 +20,7 @@ jobs:
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: '20'
node-version: 'lts/*'
check-latest: true
cache: 'npm'

View File

@ -13,7 +13,7 @@ RUN npm ci --omit=dev &&\
# Copy build result to a new image.
# This saves a lot of disk space.
FROM docker.io/library/node:20-alpine
FROM docker.io/library/node:lts-alpine
HEALTHCHECK CMD /usr/bin/timeout 5s /bin/sh -c "/usr/bin/wg show | /bin/grep -q interface || exit 1" --interval=1m --timeout=5s --retries=3
COPY --from=build_node_modules /app /app