Skip to content

Commit 64f60fe

Browse files
committed
dev: slightly improve the dev loop
Jira: IAM-1908
1 parent 103b9fc commit 64f60fe

2 files changed

Lines changed: 7 additions & 0 deletions

File tree

Dockerfile.local

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ COPY . .
77
RUN --mount=type=cache,target=/usr/src/app/target/release/build \
88
--mount=type=cache,target=/usr/src/app/target/release/deps \
99
--mount=type=cache,target=/usr/src/app/target/release/incremental \
10+
--mount=type=cache,target=/usr/local/cargo/git \
1011
--mount=type=cache,target=/usr/local/cargo/registry \
1112
cargo build --release
1213

dev/docker-compose.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,9 @@ services:
1212
- ../dev/settings.json:/root/.settings.json
1313
ports:
1414
- 127.0.0.1:8082:8082
15+
develop:
16+
watch:
17+
- path: ../src
18+
action: rebuild
19+
- path: ../Cargo.lock
20+
action: rebuild

0 commit comments

Comments
 (0)