summaryrefslogtreecommitdiff
path: root/opendc-web/opendc-web-ui/Dockerfile
diff options
context:
space:
mode:
authorFabian Mastenbroek <mail.fabianm@gmail.com>2021-05-09 14:14:45 +0200
committerGitHub <noreply@github.com>2021-05-09 14:14:45 +0200
commit4f1c48bf32ded0ce1277b6483bdac7ec489f055f (patch)
tree1a2c7c09fb87731086ddcdb6570f710ad5cd56b2 /opendc-web/opendc-web-ui/Dockerfile
parentfb84d53278fa59a7c7a95538747563a0aed692a2 (diff)
parentf79c0872ddfcbe02a7bcc498b4a9d5d202caccd2 (diff)
ui: Update OpenDC homepage
This pull request contains various updates to the opendc.org homepage, in order to reflect the updates from OpenDC 2.0.
Diffstat (limited to 'opendc-web/opendc-web-ui/Dockerfile')
-rw-r--r--opendc-web/opendc-web-ui/Dockerfile1
1 files changed, 1 insertions, 0 deletions
diff --git a/opendc-web/opendc-web-ui/Dockerfile b/opendc-web/opendc-web-ui/Dockerfile
index 7aa3a7bf..86a18a03 100644
--- a/opendc-web/opendc-web-ui/Dockerfile
+++ b/opendc-web/opendc-web-ui/Dockerfile
@@ -11,6 +11,7 @@ FROM node:15 AS build
COPY ./ /opendc
COPY --from=staging /opendc/node_modules /opendc/node_modules
RUN cd /opendc/ \
+ && export REACT_APP_OAUTH_CLIENT_ID="\\\$REACT_APP_OAUTH_CLIENT_ID" \
&& yarn build \
&& mv build/index.html build/index.html.template