From e7fef021766cc46d8610490e092c0b0a76d3d283 Mon Sep 17 00:00:00 2001 From: thecyberlearn Date: Fri, 5 Sep 2025 03:16:25 +0530 Subject: [PATCH] Fix Dokploy Docker caching issue - force no-cache build MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Add "buildOptions": ["--no-cache"] to dokploy.json - Remove temporary comment from requirements.txt - Forces Dokploy to rebuild all layers and install django-ratelimit properly - No changes to application code - works as-is on CapRover 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- dokploy.json | 1 + requirements.txt | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/dokploy.json b/dokploy.json index 2a5be24..26bb043 100644 --- a/dokploy.json +++ b/dokploy.json @@ -4,6 +4,7 @@ "dockerfile": "./Dockerfile.dokploy", "port": 3000, "buildArgs": {}, + "buildOptions": ["--no-cache"], "env": { "PYTHONUNBUFFERED": "1" } diff --git a/requirements.txt b/requirements.txt index 5697db1..30ad9d2 100644 --- a/requirements.txt +++ b/requirements.txt @@ -3,8 +3,6 @@ Django==5.2.4 djangorestframework==3.15.2 python-decouple==3.8 -# Force Docker rebuild - updated 2025-09-04 - # Database dj-database-url==2.1.0 psycopg2-binary==2.9.10