From f0019e5f2f357fd872d0d636edd6a76f82084cb0 Mon Sep 17 00:00:00 2001 From: Jennifer Echenim Date: Tue, 1 Oct 2024 17:59:25 +0400 Subject: [PATCH] add pnpm installation to Dockerfiles --- tools/bridge-frontend/Dockerfile | 5 ++++- tools/tenscan/frontend/Dockerfile | 2 ++ tools/walletextension/frontend/Dockerfile | 2 ++ 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/tools/bridge-frontend/Dockerfile b/tools/bridge-frontend/Dockerfile index ff95310842..ebbfff4024 100644 --- a/tools/bridge-frontend/Dockerfile +++ b/tools/bridge-frontend/Dockerfile @@ -1,6 +1,9 @@ # Use an official Node.js 22 as a parent image FROM node:22-alpine +# Install pnpm +RUN npm install -g pnpm + # setup container data structure RUN mkdir -p /home/obscuro/go-obscuro/tools COPY ./tools/bridge-frontend /home/obscuro/go-obscuro/tools/bridge-frontend @@ -19,4 +22,4 @@ ENV NEXT_PUBLIC_BRIDGE_GOOGLE_ANALYTICS_ID=${GOOGLE_ANALYTICS_ID} RUN pnpm install -EXPOSE 80 \ No newline at end of file +EXPOSE 80 diff --git a/tools/tenscan/frontend/Dockerfile b/tools/tenscan/frontend/Dockerfile index 77bf0e873e..691489c28a 100644 --- a/tools/tenscan/frontend/Dockerfile +++ b/tools/tenscan/frontend/Dockerfile @@ -1,4 +1,6 @@ FROM node:18-buster as runner +# Install pnpm +RUN npm install -g pnpm # setup container data structure RUN mkdir -p /home/obscuro/go-obscuro/tools/tenscan/ COPY ./tools/tenscan/frontend /home/obscuro/go-obscuro/tools/tenscan/frontend diff --git a/tools/walletextension/frontend/Dockerfile b/tools/walletextension/frontend/Dockerfile index e8f81feb92..341bf8efdf 100644 --- a/tools/walletextension/frontend/Dockerfile +++ b/tools/walletextension/frontend/Dockerfile @@ -1,5 +1,7 @@ # Use an official Node.js LTS version as a base image FROM node:20-alpine AS base +# Install pnpm +RUN npm install -g pnpm ARG NEXT_PUBLIC_NETWORK_NAME