refactor: imporved layer caching for dockerfile

using existing built image for account 2
This commit is contained in:
2026-05-21 22:12:33 +02:00
parent 25eb89c902
commit 0a31601b77
4 changed files with 29 additions and 12 deletions
+2 -3
View File
@@ -3,6 +3,7 @@ services:
build:
context: .
dockerfile: Dockerfile
image: userbot:latest
restart: unless-stopped
env_file:
- .env
@@ -16,9 +17,7 @@ services:
- 1.1.1.1
anna:
build:
context: .
dockerfile: Dockerfile
image: userbot:latest
restart: unless-stopped
env_file:
- .env