mirror of
https://github.com/jhillyerd/inbucket.git
synced 2025-12-17 09:37:02 +00:00
Dockerfile: add missing node-gyp build dep to node:18 image (#403)
Signed-off-by: James Hillyerd <james@hillyerd.com>
This commit is contained in:
@@ -3,6 +3,7 @@
|
|||||||
### Build frontend
|
### Build frontend
|
||||||
# Due to no official elm compiler for arm; build frontend with amd64.
|
# Due to no official elm compiler for arm; build frontend with amd64.
|
||||||
FROM --platform=linux/amd64 node:18 as frontend
|
FROM --platform=linux/amd64 node:18 as frontend
|
||||||
|
RUN npm install -g node-gyp
|
||||||
WORKDIR /build
|
WORKDIR /build
|
||||||
COPY . .
|
COPY . .
|
||||||
WORKDIR /build/ui
|
WORKDIR /build/ui
|
||||||
|
|||||||
Reference in New Issue
Block a user