nextjs t3 app with drizzle
maurobender
TRIAL
a year ago
Environment variables not found when building app image with Docker event with those variables in the Environment configuration of the service. See the error:
#15 3.328 ❌ Invalid environment variables: {
#15 3.328 DATABASE_URL: [ 'Required' ],
#15 3.328 NEXTAUTH_SECRET: [ 'Required' ],
#15 3.328 DISCORD_CLIENT_ID: [ 'Required' ],
#15 3.328 DISCORD_CLIENT_SECRET: [ 'Required' ]
#15 3.328 }
ⓘ Deployment information is only viewable by Project members and Railway admins.
1 Replies
a year ago
Please check out this docs section -
https://docs.railway.app/guides/dockerfiles#using-variables-at-build-time