mirror of
https://github.com/PragmaticMachineLearning/probly.git
synced 2026-01-10 13:57:57 -05:00
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.
14 lines
266 B
JavaScript
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;
|