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:
parent
ca304ad4f0
commit
adf6927374
4 changed files with 4 additions and 4 deletions
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
|
@ -9,7 +9,7 @@ jobs:
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
node_version: [14, 16, 18, 19]
|
node_version: [14, 16, 18, 19, 20, 21]
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
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 \
|
ENV NODE_ENV=production \
|
||||||
VERDACCIO_BUILD_REGISTRY=https://registry.npmjs.org \
|
VERDACCIO_BUILD_REGISTRY=https://registry.npmjs.org \
|
||||||
|
@ -30,7 +30,7 @@ RUN yarn pack --out verdaccio.tgz \
|
||||||
## clean up and reduce bundle size
|
## clean up and reduce bundle size
|
||||||
RUN rm -Rf /opt/verdaccio-build
|
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"
|
LABEL maintainer="https://github.com/verdaccio/verdaccio"
|
||||||
|
|
||||||
ENV VERDACCIO_APPDIR=/opt/verdaccio \
|
ENV VERDACCIO_APPDIR=/opt/verdaccio \
|
||||||
|
|
Loading…
Reference in a new issue