diff --git a/Dockerfile b/Dockerfile index 84e9979..b94e949 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,7 @@ # Docker build environment # ############################ -FROM node:18.16.1-bookworm-slim AS build +FROM node:lts-bookworm-slim AS build # Upgrade all packages and install dependencies RUN apt-get update \ @@ -23,7 +23,7 @@ RUN npm i && npm run build # Docker final environment # ############################ -FROM caddy:2.7.4-alpine +FROM caddy:alpine AS final EXPOSE 80 WORKDIR /var/www/html diff --git a/src/app/pipes/hash-suffix.pipe.ts b/src/app/pipes/hash-suffix.pipe.ts index f6a57cf..e77bce5 100644 --- a/src/app/pipes/hash-suffix.pipe.ts +++ b/src/app/pipes/hash-suffix.pipe.ts @@ -17,7 +17,7 @@ export class HashSuffixPipe implements PipeTransform { return '0'; } - const suffixes = [' H/s', ' KH/s', ' MH/s', ' GH/s', ' TH/s', ' PH/s', ' EH/s']; + const suffixes = [' H/s', ' KH/s', ' MH/s', ' GH/s', ' TH/s', ' PH/s', ' EH/s', ' ZH/s', ' YH/s', ' RH/s', ' QH/s']; let power = Math.floor(Math.log10(value) / 3); if (power < 0) {