Skip to content

Commit b408ae9

Browse files
author
roshni73
committed
fixup! chore(web-app-serve):add docker configuration
1 parent b8b5fac commit b408ae9

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,10 @@
2525
# These variables are not included in the build files but the values should still be valid.
2626
# See "schema" field in "./env.ts"
2727
ENV APP_TITLE=timur
28-
ENV APP_GRAPHQL_DOMAIN=http://localhost:8100/graphql
28+
ENV APP_GRAPHQL_DOMAIN=http://localhost:4000/graphql
2929
ENV APP_ENVIRONMENT=production
30-
ENV APP_SENTRY_DSN=hello
30+
ENV APP_SENTRY_DSN=https://examplePublicKey@o0.ingest.sentry.io/0
31+
3132

3233
# NOTE: WEB_APP_SERVE_ENABLED=true will skip defining the above dynamic env variables
3334
# See "overrideDefine" field in "./env.ts"

env.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export default defineConfig({
1515
schema: {
1616
// NOTE: These are the dynamic env variables
1717
APP_TITLE: Schema.string(),
18-
APP_ENVIRONMENT: (key, value) => {
18+
APP_ENVIRONMENT: (key:string, value:string) => {
1919
// NOTE: APP_ENVIRONMENT_PLACEHOLDER is meant to be used with image builds
2020
// The value will be later replaced with the actual value
2121
const regex = /^production|staging|testing|alpha-\d+|development|APP_ENVIRONMENT_PLACEHOLDER$/;

0 commit comments

Comments
 (0)