fix: require JWT auth on daily-chat endpoint, simplify Dockerfile Prisma generate
Build & Deploy Mobile / build-and-deploy (push) Failing after 10s

The /api/chat/daily route accepted a client-supplied userId with no
auth check. Require a verified Bearer JWT and derive the user from
the token instead. Also drop the manual openssl install and
--schema flag from the Dockerfile now that a second `prisma generate`
runs in the runner stage, and add a standard .dockerignore.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LwWLS2FYnE9ofqDF9hQFxA
This commit is contained in:
FalahMobile
2026-07-09 12:11:56 +08:00
parent f3bb801715
commit 93e26d749d
4 changed files with 30 additions and 5 deletions
+12
View File
@@ -0,0 +1,12 @@
node_modules
.next
.git
*.md
.env*
.gitignore
.eslint*
.prettier*
.next
npm-debug.log
yarn-debug.log
yarn-error.log