1
0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-11-08 23:25:51 +01: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

@ -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

@ -1 +1 @@
16
18

Binary file not shown.

@ -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 \