Skip to content

Commit

Permalink
Merge pull request #2072 from ten-protocol/jennifer/3948-create-workf…
Browse files Browse the repository at this point in the history
…low-to-test-monorepo-changes

add pnpm installation to Dockerfiles
  • Loading branch information
Jennievon authored Oct 1, 2024
2 parents e86c051 + f0019e5 commit e022981
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tools/bridge-frontend/Dockerfile
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -19,4 +22,4 @@ ENV NEXT_PUBLIC_BRIDGE_GOOGLE_ANALYTICS_ID=${GOOGLE_ANALYTICS_ID}

RUN pnpm install

EXPOSE 80
EXPOSE 80
2 changes: 2 additions & 0 deletions tools/tenscan/frontend/Dockerfile
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 2 additions & 0 deletions tools/walletextension/frontend/Dockerfile
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit e022981

Please sign in to comment.