0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-12-30 22:34:10 -05:00

chore: update docker node base v21

This commit is contained in:
Juan Picado 2023-10-28 17:52:57 +02:00
parent c922b83775
commit 376eb53788

View file

@ -1,4 +1,4 @@
FROM --platform=${BUILDPLATFORM:-linux/amd64} node:18-alpine as builder FROM --platform=${BUILDPLATFORM:-linux/amd64} node:21-alpine as builder
ENV NODE_ENV=development \ ENV NODE_ENV=development \
VERDACCIO_BUILD_REGISTRY=https://registry.npmjs.org VERDACCIO_BUILD_REGISTRY=https://registry.npmjs.org
@ -20,7 +20,7 @@ RUN npm -g i pnpm@8.9.0 && \
# NODE_ENV=production pnpm install --frozen-lockfile --ignore-scripts # NODE_ENV=production pnpm install --frozen-lockfile --ignore-scripts
# RUN pnpm install --prod --ignore-scripts # RUN pnpm install --prod --ignore-scripts
FROM node:18-alpine FROM node:21-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 \