From e4282261dd8bab4da9f19a3ea08e947c6f4246b9 Mon Sep 17 00:00:00 2001 From: pablomendezroyo <41727368+pablomendezroyo@users.noreply.github.com> Date: Mon, 4 Jul 2022 18:45:17 +0200 Subject: [PATCH] prefix env with REACT_APP --- ui/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/Dockerfile b/ui/Dockerfile index 62d3dcf..9b3fbf7 100644 --- a/ui/Dockerfile +++ b/ui/Dockerfile @@ -1,4 +1,5 @@ FROM node:14-alpine3.14 as build +ENV REACT_APP_NETWORK=gnosis WORKDIR /app RUN apk update && apk add git && git clone https://github.com/dappnode/eth2-keymanager-frontend.git WORKDIR /app/eth2-keymanager-frontend @@ -7,6 +8,5 @@ RUN yarn RUN yarn run build FROM nginx:1.21.6-alpine -ENV NETWORK="gnosis" COPY --from=build /app/eth2-keymanager-frontend/build/ /usr/share/nginx/html/ EXPOSE 80