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:
parent
ca304ad4f0
commit
adf6927374
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@ -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
2
.nvmrc
@ -1 +1 @@
|
||||
16
|
||||
18
|
||||
|
BIN
.yarn/cache/fsevents-patch-2882183fbf-8.zip
vendored
Normal file
BIN
.yarn/cache/fsevents-patch-2882183fbf-8.zip
vendored
Normal file
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 \
|
||||
|
Loading…
Reference in New Issue
Block a user