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:
parent
19df355e3c
commit
5a0c23f900
4 changed files with 4 additions and 4 deletions
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue