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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user