Remove .env.example and fix auth cookie secure flag

Delete the environment variable example file. Add error handling to the
Ollama AI route. Update Docker configuration to support Ollama services
and create required image directories. Fix indentation in auth library
and allow overriding secure cookie setting in non-production environments.
This commit is contained in:
2026-05-20 00:39:25 +02:00
parent 499894474a
commit 947b64b50e
5 changed files with 82 additions and 68 deletions
+2
View File
@@ -27,6 +27,8 @@ COPY --from=builder /app/prisma ./prisma
COPY --from=builder /app/node_modules/@prisma ./node_modules/@prisma
COPY --from=builder /app/node_modules/prisma ./node_modules/prisma
RUN mkdir -p /app/public/images/user && chown -R nextjs:nodejs /app/public
USER nextjs
EXPOSE 3000