1
0
mirror of https://github.com/jhillyerd/inbucket.git synced 2025-12-17 17:47:03 +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:
James Hillyerd
2023-10-16 16:00:35 -07:00
committed by GitHub
parent beb5abc62d
commit d2fad433d7

View File

@@ -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