summaryrefslogtreecommitdiff
path: root/frontend/Dockerfile
diff options
context:
space:
mode:
authorFabian Mastenbroek <mail.fabianm@gmail.com>2020-11-11 00:51:23 +0100
committerGitHub <noreply@github.com>2020-11-11 00:51:23 +0100
commite1716ee419c218f879c046917eaeb1e566230b0e (patch)
tree399969e871ef89f427707c927ff5e65d4c14eba8 /frontend/Dockerfile
parentf3f8d1d494a08a032940c6587c7865cd0ac0dd7a (diff)
parente6c36a309c7372bb0de3ae4a3277e91c1ee4913b (diff)
Merge pull request #62 from atlarge-research/bug/tutorial
Implement various fixes in preparation for tutorial
Diffstat (limited to 'frontend/Dockerfile')
-rw-r--r--frontend/Dockerfile2
1 files changed, 2 insertions, 0 deletions
diff --git a/frontend/Dockerfile b/frontend/Dockerfile
index d20f0232..20e16b08 100644
--- a/frontend/Dockerfile
+++ b/frontend/Dockerfile
@@ -10,12 +10,14 @@ FROM node:14 AS build
ARG OPENDC_OAUTH_CLIENT_ID
ARG OPENDC_API_BASE_URL
+ARG OPENDC_FRONTEND_SENTRY_DSN
COPY ./ /opendc
COPY --from=staging /opendc/node_modules /opendc/node_modules
RUN cd /opendc/ \
&& export REACT_APP_OAUTH_CLIENT_ID=$OPENDC_OAUTH_CLIENT_ID \
&& export REACT_APP_API_BASE_URL=$OPENDC_API_BASE_URL \
+ && export REACT_APP_SENTRY_DSN=$OPENDC_FRONTEND_SENTRY_DSN \
&& yarn build
# Setup nginx to serve the frontend