refactor(dokploy): add missing next-18next to dockerfile

This commit is contained in:
Mauricio Siu
2024-11-17 10:22:47 -06:00
parent 3a07d8de2e
commit 1e7d9fc3aa
5 changed files with 18 additions and 17 deletions

View File

@@ -24,7 +24,7 @@ import { setupTerminalWebSocketServer } from "./wss/terminal";
config({ path: ".env" });
const PORT = Number.parseInt(process.env.PORT || "3000", 10);
const dev = process.env.NODE_ENV !== "production";
const app = next({ dev });
const app = next({ dev, turbopack: dev });
const handle = app.getRequestHandler();
void app.prepare().then(async () => {
try {