Browse Source

Dockerfile: install node-gyp globally

pull/1228/head
Philip H. 2 years ago
committed by tetuaoro
parent
commit
1b1fd0839b
  1. 6
      Dockerfile

6
Dockerfile

@ -2,12 +2,8 @@
# nodejs 20 hangs on build with armv6/armv7
FROM docker.io/library/node:18-alpine AS build_node_modules
# Install Linux packages
RUN apk add --no-cache \
python3
# Update npm to latest
RUN npm install -g npm@latest
RUN npm install -g npm@latest node-gyp
# Copy Web UI
COPY src /app

Loading…
Cancel
Save