Skip to content

Commit

Permalink
prefix env with REACT_APP
Browse files Browse the repository at this point in the history
  • Loading branch information
pablomendezroyo authored Jul 4, 2022
1 parent eba8bec commit e428226
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/Dockerfile
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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

0 comments on commit e428226

Please sign in to comment.