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

chore: align docker file node and pnpm version

This commit is contained in:
Juan Picado 2022-05-07 23:52:27 +02:00
parent a75f5c97dd
commit 11bff60610
2 changed files with 4 additions and 4 deletions

View file

@ -70,7 +70,7 @@ This setting would cause the `pnpm install` command to install incorrect version
To begin your development setup, please install the latest version of pnpm globally: To begin your development setup, please install the latest version of pnpm globally:
``` ```
npm i -g pnpm npm i -g pnpm@latest-6
``` ```
With pnpm installed, the first step is installing all dependencies: With pnpm installed, the first step is installing all dependencies:

View file

@ -1,4 +1,4 @@
FROM --platform=${BUILDPLATFORM:-linux/amd64} node:16.14.2-alpine as builder FROM --platform=${BUILDPLATFORM:-linux/amd64} node:16.15.0-alpine as builder
ENV NODE_ENV=development \ ENV NODE_ENV=development \
VERDACCIO_BUILD_REGISTRY=https://registry.verdaccio.org VERDACCIO_BUILD_REGISTRY=https://registry.verdaccio.org
@ -11,7 +11,7 @@ RUN apk --no-cache add openssl ca-certificates wget && \
WORKDIR /opt/verdaccio-build WORKDIR /opt/verdaccio-build
COPY . . COPY . .
RUN npm -g i pnpm@6.24.1 && \ RUN npm -g i pnpm@6.32.3 && \
pnpm config set registry $VERDACCIO_BUILD_REGISTRY && \ pnpm config set registry $VERDACCIO_BUILD_REGISTRY && \
pnpm recursive install --frozen-lockfile --ignore-scripts && \ pnpm recursive install --frozen-lockfile --ignore-scripts && \
rm -Rf test && \ rm -Rf test && \
@ -20,7 +20,7 @@ RUN npm -g i pnpm@6.24.1 && \
# FIXME: need to remove devDependencies from the build # FIXME: need to remove devDependencies from the build
# RUN pnpm install --prod --ignore-scripts # RUN pnpm install --prod --ignore-scripts
FROM node:16.14.2-alpine FROM node:16.15.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 \