Browse Source

Ensure latest npm is installed

pull/1024/head
Philip H 2 years ago
committed by GitHub
parent
commit
6dc003897e
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 6
      Dockerfile

6
Dockerfile

@ -2,10 +2,8 @@
# nodejs 20 hangs on build with armv6/armv7
FROM docker.io/library/node:18-alpine AS build_node_modules
# Update Linux packages
RUN apk update &&\
apk add --upgrade apk-tools &&\
apk upgrade --available
# Update npm to latest version
RUN npm install -g npm@latest
# Copy Web UI
COPY src /app

Loading…
Cancel
Save