Fix Vite module not found error in production Docker deployments
continuous-integration/drone/push Build is passing

Update Dockerfile to compile server files separately without bundling, preventing Vite dependency issues in production. Includes troubleshooting documentation for the Vite module error.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: ceced2fc-aa46-458d-ba87-ddd4b7bb1518
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/659922a9-0087-461c-90dd-6d9a58b81d4d/ceced2fc-aa46-458d-ba87-ddd4b7bb1518/SBF5OKZ
This commit is contained in:
paul-nothaft
2025-10-23 15:00:04 +00:00
parent ed49eb0fce
commit e0512aa412
5 changed files with 170 additions and 10 deletions
-4
View File
@@ -30,10 +30,6 @@ externalPort = 3000
localPort = 44261
externalPort = 3003
[[ports]]
localPort = 45711
externalPort = 4200
[env]
PORT = "5000"