Files
probly/next.config.js
tobiadefami f0735525c1 feat: Add Docker support and improve browser compatibility
This commit adds Docker support for easy deployment and improves browser compatibility:

- Add Dockerfile and docker-compose.yml for containerized deployment
- Fix Pyodide integration to work properly in browser-only mode
- Add mock implementation for server-side rendering
- Clean up markdown formatting in analysis output
- Update README with Docker deployment instructions
- Add platform-specific keyboard shortcuts (Mac/Windows)
- Ensure public directory exists in Docker build
- Fix TypeScript type definitions for Pyodide

The application now properly handles the browser/server environment difference,
with Python analysis running exclusively in the browser while the server
provides API proxying and static file serving.
2025-02-28 12:30:29 +01:00

14 lines
266 B
JavaScript

/** @type {import('next').NextConfig} */
const nextConfig = {
reactStrictMode: true,
output: "standalone",
experimental: {
serverComponentsExternalPackages: ["sharp", "canvas"],
},
images: {
unoptimized: true,
},
};
module.exports = nextConfig;