Spaces:
Runtime error
Runtime error
cleanup
Browse files- Dockerfile +0 -2
Dockerfile
CHANGED
@@ -3,11 +3,9 @@ FROM rust:1.83.0 AS builder
|
|
3 |
WORKDIR /app
|
4 |
COPY . .
|
5 |
RUN cargo install --path .
|
6 |
-
CMD ["hello-world"]
|
7 |
|
8 |
FROM debian:bookworm-slim
|
9 |
RUN apt-get update & apt-get install -y extra-runtime-dependencies & rm -rf /var/lib/apt/lists/*
|
10 |
COPY --from=builder /usr/local/cargo/bin/hello-world /usr/local/bin/hello-world
|
11 |
COPY --from=builder /usr/local/cargo/bin/help /usr/local/bin/help
|
12 |
-
|
13 |
CMD ["hello-world", "-m", "Here is a message"]
|
|
|
3 |
WORKDIR /app
|
4 |
COPY . .
|
5 |
RUN cargo install --path .
|
|
|
6 |
|
7 |
FROM debian:bookworm-slim
|
8 |
RUN apt-get update & apt-get install -y extra-runtime-dependencies & rm -rf /var/lib/apt/lists/*
|
9 |
COPY --from=builder /usr/local/cargo/bin/hello-world /usr/local/bin/hello-world
|
10 |
COPY --from=builder /usr/local/cargo/bin/help /usr/local/bin/help
|
|
|
11 |
CMD ["hello-world", "-m", "Here is a message"]
|