0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-12-16 21:56:25 -05:00

feat: update docker base image to node20 (#4231)

* feat: update docker base image to node20

* Update ci.yml
This commit is contained in:
Juan Picado 2023-12-05 21:15:03 +01:00 committed by GitHub
parent ca304ad4f0
commit adf6927374
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 4 deletions

View file

@ -9,7 +9,7 @@ jobs:
strategy:
fail-fast: false
matrix:
node_version: [14, 16, 18, 19]
node_version: [14, 16, 18, 19, 20, 21]
runs-on: ubuntu-latest

2
.nvmrc
View file

@ -1 +1 @@
16
18

Binary file not shown.

View file

@ -1,4 +1,4 @@
FROM --platform=${BUILDPLATFORM:-linux/amd64} node:18.19.0-alpine as builder
FROM --platform=${BUILDPLATFORM:-linux/amd64} node:20.10.0-alpine as builder
ENV NODE_ENV=production \
VERDACCIO_BUILD_REGISTRY=https://registry.npmjs.org \
@ -30,7 +30,7 @@ RUN yarn pack --out verdaccio.tgz \
## clean up and reduce bundle size
RUN rm -Rf /opt/verdaccio-build
FROM node:18.19.0-alpine
FROM node:20.10.0-alpine
LABEL maintainer="https://github.com/verdaccio/verdaccio"
ENV VERDACCIO_APPDIR=/opt/verdaccio \