modules = ["nodejs-20", "web", "postgresql-16", "python-3.11"] run = "npm run dev" hidden = [".config", ".git", "generated-icon.png", "node_modules", "dist"] [nix] channel = "stable-24_05" packages = ["antlr", "freetype", "glibcLocales", "itk", "jre", "lcms2", "libGL", "libGLU", "libimagequant", "libjpeg", "libjpeg_turbo", "libpng", "libtiff", "libwebp", "libxcrypt", "openjpeg", "swig4", "tcl", "tk", "which", "zip", "zlib"] [[ports]] localPort = 5000 externalPort = 80 [[ports]] localPort = 8000 externalPort = 8000 [[ports]] localPort = 8080 externalPort = 8080 [env] PORT = "5000" [deployment] deploymentTarget = "autoscale" run = ["node", "./dist/index.cjs"] build = ["npm", "run", "build"] [workflows] runButton = "Project" [[workflows.workflow]] name = "Project" mode = "parallel" author = "agent" [[workflows.workflow.tasks]] task = "workflow.run" args = "Start application" [[workflows.workflow]] name = "Start application" author = "agent" [[workflows.workflow.tasks]] task = "shell.exec" args = "npm run dev" waitForPort = 5000 [agent] integrations = ["github:1.0.0"]