Seymur Baghirov

Results 8 comments of Seymur Baghirov

```dockerfile FROM rust:1.76 as builder # check query macros ENV DATABASE_URL=sqlite:db.sqlite RUN --mount=type=cache,target=/usr/local/cargo/registry cargo install sqlx-cli --no-default-features --features sqlite WORKDIR /app COPY . . RUN sqlx database create RUN sqlx...

> I tried to replicate, but I could not. > > Can you please make an example public repository (with axum + sqlite)? Hello! Thanks for looking into this issue....

> It should be something on your server, as on my side, it uses cache. ![image](https://private-user-images.githubusercontent.com/5845193/325987160-e43b983c-c955-476b-bea4-3faf3b8b6fc6.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTQxMzc5MjgsIm5iZiI6MTcxNDEzNzYyOCwicGF0aCI6Ii81ODQ1MTkzLzMyNTk4NzE2MC1lNDNiOTgzYy1jOTU1LTQ3NmItYmVhNC0zZmFmM2I4YjZmYzYucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDQyNiUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA0MjZUMTMyMDI4WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MWRhYjAxNzgwMWZkNjYwMGViOTAyYWM0MzZmYmFmODRjNWUxMzk0ZmNiMGRmMmM5MTA2NWE0NjhkNjc5MzdiZiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.ySlfJwvBHYL_hxhtSu-h_gfw9ooqZFacYjEo2-dnHW4) ![image](https://private-user-images.githubusercontent.com/5845193/325986797-557e2db7-54a1-418d-9d49-47ef1bb4e29a.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTQxMzc5MjgsIm5iZiI6MTcxNDEzNzYyOCwicGF0aCI6Ii81ODQ1MTkzLzMyNTk4Njc5Ny01NTdlMmRiNy01NGExLTQxOGQtOWQ0OS00N2VmMWJiNGUyOWEucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDQyNiUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA0MjZUMTMyMDI4WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9NWYxYjgwOGRiZDY5YjFlZjY3NDRkZWZlMmMzZjc1NmM4MjdlZTAyOGJiMzZhOWUyZDQyMGZmOTVlMGE5NTYwNSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.1hTVuZE35lsnwuV4uyWEDWjlIkwqQR-Zrx3CYoRYGCM) > > The cleanup process checks the disk usage every two minutes, and...

![image](https://github.com/coollabsio/coolify/assets/87154668/e8995cfb-c7e9-44b0-aed0-9f946e9eded3) I checked again. The cache only works minutes after the last build. After, i push another commit, the image is built from scratch again. I'll test this again in...

I tried with a brand new server(Fedora 40 this time), the same issue persists. New deployments don't use the cache from previous deployments. The rust and debian images used inside...

I know this is an old issue but i did it like this. I modified the script a little bit. This also remembers the last pressed option ```bash arg="0" while...

It looks like caching works now? I do not know what caused the fix but it works for me right now. Will monitor it further but if it continues to...

It seems to work for me, even after a lot of commits. I'm closing the issue. Thanks for Coolify @andrasbacsai !