aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorChristian Fehmer <[email protected]>2024-07-22 10:39:02 +0200
committerChristian Fehmer <[email protected]>2024-07-22 10:39:02 +0200
commite531386670e08907cc2544c40b98e91d3be06448 (patch)
treebada318b7495cab765057f35a781c8552a9fb38c
parent10d66e6ce5787dd2dc352341c3ea3dee410e731f (diff)
downloadmonkeytype-e531386670e08907cc2544c40b98e91d3be06448.tar.gz
monkeytype-e531386670e08907cc2544c40b98e91d3be06448.zip
expose env variables needed by frontend build
-rw-r--r--docker/frontend/Dockerfile1
-rw-r--r--turbo.json4
2 files changed, 4 insertions, 1 deletions
diff --git a/docker/frontend/Dockerfile b/docker/frontend/Dockerfile
index 76b466227..5fc9e0cf2 100644
--- a/docker/frontend/Dockerfile
+++ b/docker/frontend/Dockerfile
@@ -14,7 +14,6 @@ COPY frontend frontend
COPY docker/frontend/firebase-config-live.ts frontend/src/ts/constants/firebase-config.ts
COPY docker/frontend/firebase-config-live.ts frontend/src/ts/constants/firebase-config-live.ts
-COPY docker/frontend/.env frontend/.env
#BUILD
RUN npm ci
diff --git a/turbo.json b/turbo.json
index a93576116..2dd81af14 100644
--- a/turbo.json
+++ b/turbo.json
@@ -24,6 +24,10 @@
},
"@monkeytype/frontend#validate-json": {
"dependsOn": ["^parallel"]
+ },
+ "@monkeytype/frontend#build": {
+ "dependsOn": ["^build"],
+ "env": ["BACKEND_URL", "RECAPTCHA_SITE_KEY"]
}
}
}