remove npm config
This commit is contained in:
@@ -3,10 +3,6 @@
|
||||
|
||||
FROM docker.io/library/node:18-alpine AS build_node_modules
|
||||
|
||||
# Hide fund and update-notifier message
|
||||
RUN npm config set -g fund false &&\
|
||||
npm config set -g update-notifier false
|
||||
|
||||
# Copy Web UI
|
||||
COPY src/ /app/
|
||||
WORKDIR /app
|
||||
@@ -15,10 +11,6 @@ RUN npm ci
|
||||
# This saves a lot of disk space.
|
||||
FROM docker.io/library/node:18-alpine
|
||||
|
||||
# Hide fund and update-notifier message
|
||||
RUN npm config set -g fund false &&\
|
||||
npm config set -g update-notifier false
|
||||
|
||||
COPY --from=build_node_modules /app /app
|
||||
|
||||
# Move node_modules one directory up, so during development
|
||||
|
||||
Reference in New Issue
Block a user