Update node from 12-buster to 16-bullseye

With Node 16 and Debian Bullseye being out now, this updates the BlueWallet docker containers to these versions. On Citadel, this will allow faster downloads of the app because it always uses the up-to-date containers, and when (if) Umbrel migrates to Node 16, it'll also allow faster downloads there.
This commit is contained in:
Aaron Dewes 2021-09-26 13:21:15 +02:00 committed by Overtorment
parent e149f695cc
commit 3a9cefa64b
1 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@ RUN adduser --disabled-password \
--gecos "" \
"lndhub"
FROM node:12-buster-slim AS builder
FROM node:16-bullseye-slim AS builder
# These packages are required for building LNDHub
RUN apt-get update && apt-get -y install python3
@ -25,7 +25,7 @@ COPY . .
# Delete git data as it's not needed inside the container
RUN rm -rf .git
FROM node:12-buster-slim
FROM node:16-bullseye-slim
# Create a specific user so LNDHub doesn't run as root
COPY --from=perms /etc/group /etc/passwd /etc/shadow /etc/