Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@

FROM node:18.19.1-alpine3.19 AS builder

# node-gyp needs Python + a C/C++ toolchain to build native modules
# (e.g. solana/eth signing crates). Alpine ships none of those by default.
RUN apk add --no-cache python3 make g++

USER node
WORKDIR /home/node

Expand Down
4 changes: 4 additions & 0 deletions infrastructure/lnbitsapi/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# Stage 0
FROM node:18.19.1-alpine3.19 AS builder

# node-gyp needs Python + a C/C++ toolchain to build sqlite3's native binding.
# Alpine ships none of those by default.
RUN apk add --no-cache python3 make g++

USER node
WORKDIR /home/node

Expand Down
Loading