mirror of
https://github.com/Ride-The-Lightning/RTL
synced 2024-11-07 15:20:31 +00:00
e45d6d598a
- Package updates Updated docker NodeJS from 10 to 14 Updated Angular from 11 to 12 Updated Material from 11 to 12 Updated Angular cli from 11 to 12 Updated Karma from 5 to 6 Updated rxjs from 6 to 7 Updated ngrx from 10 to 12 Updated angularx-qrcode from 10 to 11 Updated @angular/flex-layout from 11 to 12 Updated angular-user-idle from 2.2.4 to 2.2.5 Updated typescript from 4.0.2 to 4.2.4 Updated zone.js from 0.10.2 to 0.11.4 Migrated from TSLint to ESLint Installed save-dev crypto-browserify & stream-browserify - Mask password with fixed length #689 - CSRF Token (#696) - Route lock default password (#700) - ECL Invoice amount mislabeled #694 - ECL & LND Fee report time zone offset bug fixes #692 & #693 - Loop remove max routing fee validation #690 - Child route refresh bug - Adding Password Blacklist (#704) - Fee rate in percentage #621 (#705) - ECL Adding BaseFee and FeeRate on Channels - LND Invoice and Payment pagination fix (#707) - Keysend missing QR code bug fix - Login page XS layout fix - Reports tables load time improved (#709) - Report initial table load bug fix
34 lines
797 B
Docker
34 lines
797 B
Docker
FROM node:14-stretch-slim AS builder
|
|
|
|
ADD https://github.com/krallin/tini/releases/download/v0.19.0/tini-static-armel /tini
|
|
ADD https://github.com/krallin/tini/releases/download/v0.19.0/tini-static-armel.asc /tini.asc
|
|
# RUN apt-get install gnupg
|
|
# RUN gpg --batch --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 595E85A6B1B4779EA4DAAEC70B588DFF0527A9B7 \
|
|
# && gpg --batch --verify /tini.asc /tini
|
|
RUN chmod +x /tini
|
|
|
|
WORKDIR /RTL
|
|
|
|
COPY . /RTL
|
|
|
|
COPY package.json /RTL/package.json
|
|
COPY package-lock.json /RTL/package-lock.json
|
|
|
|
# Install dependencies
|
|
RUN npm install --production
|
|
|
|
COPY . /RTL
|
|
|
|
FROM arm32v7/node:14-stretch-slim
|
|
|
|
WORKDIR /RTL
|
|
|
|
COPY --from=builder "/RTL" .
|
|
COPY --from=builder "/tini" /sbin/tini
|
|
|
|
EXPOSE 3000
|
|
|
|
ENTRYPOINT ["/sbin/tini", "-g", "--"]
|
|
|
|
CMD ["node", "rtl"]
|