fix(docker): 💚 Deployment
This commit is contained in:
@ -5,7 +5,7 @@ ARG SCOPE
|
|||||||
ENV SCOPE=${SCOPE}
|
ENV SCOPE=${SCOPE}
|
||||||
|
|
||||||
FROM base AS pruner
|
FROM base AS pruner
|
||||||
RUN yarn global add turbo@1.1.5
|
RUN yarn global add turbo@1.2.9
|
||||||
COPY . .
|
COPY . .
|
||||||
RUN turbo prune --scope=${SCOPE} --docker
|
RUN turbo prune --scope=${SCOPE} --docker
|
||||||
|
|
||||||
|
@ -18,9 +18,9 @@ import { NextChakraLink } from 'components/nextChakra/NextChakraLink'
|
|||||||
const hasNoAuthProvider =
|
const hasNoAuthProvider =
|
||||||
(!process.env.NEXT_PUBLIC_SMTP_FROM ||
|
(!process.env.NEXT_PUBLIC_SMTP_FROM ||
|
||||||
process.env.NEXT_PUBLIC_SMTP_AUTH_DISABLED === 'true') &&
|
process.env.NEXT_PUBLIC_SMTP_AUTH_DISABLED === 'true') &&
|
||||||
process.env.NEXT_PUBLIC_GOOGLE_CLIENT_ID &&
|
!process.env.NEXT_PUBLIC_GOOGLE_CLIENT_ID &&
|
||||||
process.env.NEXT_PUBLIC_GITHUB_CLIENT_ID &&
|
!process.env.NEXT_PUBLIC_GITHUB_CLIENT_ID &&
|
||||||
process.env.NEXT_PUBLIC_FACEBOOK_CLIENT_ID
|
!process.env.NEXT_PUBLIC_FACEBOOK_CLIENT_ID
|
||||||
|
|
||||||
type Props = {
|
type Props = {
|
||||||
defaultEmail?: string
|
defaultEmail?: string
|
||||||
|
@ -42,7 +42,6 @@ Used for sending email notifications and authentication
|
|||||||
| SMTP_HOST | -- | SMTP host. (i.e. `smtp.host.com`) |
|
| SMTP_HOST | -- | SMTP host. (i.e. `smtp.host.com`) |
|
||||||
| SMTP_PORT | 25 | SMTP port |
|
| SMTP_PORT | 25 | SMTP port |
|
||||||
| NEXT_PUBLIC_SMTP_FROM | - | From name and email (i.e. `"Typebot Notifications" <notifications@typebot.io>`) |
|
| NEXT_PUBLIC_SMTP_FROM | - | From name and email (i.e. `"Typebot Notifications" <notifications@typebot.io>`) |
|
||||||
| NEXT_PUBLIC_SMTP_FROM | - | From name and email (i.e. `"Typebot Notifications" <notifications@typebot.io>`) |
|
|
||||||
| NEXT_PUBLIC_SMTP_AUTH_DISABLED | false | To disable the authentication by email but still use the provided config for notifications |
|
| NEXT_PUBLIC_SMTP_AUTH_DISABLED | false | To disable the authentication by email but still use the provided config for notifications |
|
||||||
|
|
||||||
</p></details>
|
</p></details>
|
||||||
@ -255,7 +254,6 @@ Used for sending email notifications and authentication
|
|||||||
| SMTP_HOST | -- | SMTP host. (i.e. `smtp.host.com`) |
|
| SMTP_HOST | -- | SMTP host. (i.e. `smtp.host.com`) |
|
||||||
| SMTP_PORT | 25 | SMTP port |
|
| SMTP_PORT | 25 | SMTP port |
|
||||||
| NEXT_PUBLIC_SMTP_FROM | - | From name and email (i.e. `"Typebot Notifications" <notifications@typebot.io>`) |
|
| NEXT_PUBLIC_SMTP_FROM | - | From name and email (i.e. `"Typebot Notifications" <notifications@typebot.io>`) |
|
||||||
| NEXT_PUBLIC_SMTP_FROM | - | From name and email (i.e. `"Typebot Notifications" <notifications@typebot.io>`) |
|
|
||||||
|
|
||||||
</p></details>
|
</p></details>
|
||||||
|
|
||||||
|
@ -10,7 +10,8 @@
|
|||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"next": "^12.1.6",
|
"next": "^12.1.6",
|
||||||
"db": "*"
|
"db": "*",
|
||||||
|
"@udecode/plate-core": "^11.0.0"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "tsc",
|
"build": "tsc",
|
||||||
|
Reference in New Issue
Block a user