We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d49382 commit 5e0b266Copy full SHA for 5e0b266
1 file changed
Dockerfile
@@ -11,7 +11,7 @@ FROM chef AS planner
11
COPY . .
12
RUN cargo chef prepare --recipe-path recipe.json
13
14
-FROM chef AS builder
+FROM chef AS server-builder
15
COPY --from=planner /app/recipe.json recipe.json
16
RUN cargo chef cook --release --recipe-path recipe.json
17
@@ -20,7 +20,7 @@ RUN cargo build --release
20
FROM debian:bookworm-slim AS runtime
21
WORKDIR /app
22
23
-COPY --from=builder /app/target/release/mcping /usr/local/bin
+COPY --from=server-builder /app/target/release/mcping /usr/local/bin
24
COPY --from=server-builder /app/target/release/mcping-healthcheck /usr/local/bin/mcping-healthcheck
25
COPY --from=client-builder /assets/ /var/www/mcping/
26
0 commit comments