btc-rpc-explorer/Dockerfile
Andreas Schildbach 5430d9172b Dockerfile: update node.js to 20
Updates node.js to the current active LTS version. Version 16
seems unmaintained at this time. See
https://nodejs.org/en/about/previous-releases
2024-11-10 09:38:30 +01:00

11 lines
192 B
Docker

FROM node:20 as builder
WORKDIR /workspace
COPY . .
RUN npm install
FROM node:20-alpine
WORKDIR /workspace
COPY --from=builder /workspace .
RUN apk --update add git
CMD npm start
EXPOSE 3002