Skip to content

Commit 5e0b266

Browse files
fix dockerfile
1 parent 4d49382 commit 5e0b266

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ FROM chef AS planner
1111
COPY . .
1212
RUN cargo chef prepare --recipe-path recipe.json
1313

14-
FROM chef AS builder
14+
FROM chef AS server-builder
1515
COPY --from=planner /app/recipe.json recipe.json
1616
RUN cargo chef cook --release --recipe-path recipe.json
1717
COPY . .
@@ -20,7 +20,7 @@ RUN cargo build --release
2020
FROM debian:bookworm-slim AS runtime
2121
WORKDIR /app
2222

23-
COPY --from=builder /app/target/release/mcping /usr/local/bin
23+
COPY --from=server-builder /app/target/release/mcping /usr/local/bin
2424
COPY --from=server-builder /app/target/release/mcping-healthcheck /usr/local/bin/mcping-healthcheck
2525
COPY --from=client-builder /assets/ /var/www/mcping/
2626

0 commit comments

Comments
 (0)