0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-12-16 21:56:25 -05:00

fix: Dockerfile error FromAsCasing (#4713)

This commit is contained in:
Marc Bernard 2024-07-17 13:57:35 -04:00 committed by GitHub
parent 19df355e3c
commit 5a0c23f900
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 4 additions and 4 deletions

View file

@ -1,4 +1,4 @@
FROM --platform=${BUILDPLATFORM:-linux/amd64} node:21-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

View file

@ -1,7 +1,7 @@
# Docs based on https://github.com/xlts-dev/verdaccio-prometheus-middleware#installation # Docs based on https://github.com/xlts-dev/verdaccio-prometheus-middleware#installation
# Docker multi-stage build - https://docs.docker.com/develop/develop-images/multistage-build/ # Docker multi-stage build - https://docs.docker.com/develop/develop-images/multistage-build/
# Use an alpine node image to install the plugin # Use an alpine node image to install the plugin
FROM node:lts-alpine as builder FROM node:lts-alpine AS builder
RUN mkdir -p /verdaccio/plugins RUN mkdir -p /verdaccio/plugins

View file

@ -2,7 +2,7 @@
# Docker multi-stage build - https://docs.docker.com/develop/develop-images/multistage-build/ # Docker multi-stage build - https://docs.docker.com/develop/develop-images/multistage-build/
# Use an alpine node image to install the plugin # Use an alpine node image to install the plugin
FROM node:lts-alpine as builder FROM node:lts-alpine AS builder
# Install the metrics middleware plugin # Install the metrics middleware plugin
# npm docs # npm docs

View file

@ -1,7 +1,7 @@
# Docs based on https://github.com/xlts-dev/verdaccio-prometheus-middleware#installation # Docs based on https://github.com/xlts-dev/verdaccio-prometheus-middleware#installation
# Docker multi-stage build - https://docs.docker.com/develop/develop-images/multistage-build/ # Docker multi-stage build - https://docs.docker.com/develop/develop-images/multistage-build/
# Use an alpine node image to install the plugin # Use an alpine node image to install the plugin
FROM node:lts-alpine as builder FROM node:lts-alpine AS builder
RUN mkdir -p /verdaccio/plugins RUN mkdir -p /verdaccio/plugins