We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6edf941 commit 8040930Copy full SHA for 8040930
1 file changed
exec.Dockerfile
@@ -1,15 +1,13 @@
1
-# ---- build ----
2
-FROM rust:1.78-slim AS build
+# exec.Dockerfile
+FROM rust:1.75 AS build
3
WORKDIR /app
4
-COPY Cargo.toml .
5
-COPY tundra/Cargo.toml tundra/Cargo.toml
6
-COPY executor/Cargo.toml executor/Cargo.toml
7
-RUN cargo fetch
8
COPY . .
+RUN cargo fetch
9
RUN cargo build --release -p executor
10
11
-# ---- runtime ----
12
-FROM gcr.io/distroless/cc
+# ──────────────────────────────────────────────────────────
+FROM debian:bookworm-slim
+WORKDIR /app
13
COPY --from=build /app/target/release/executor /usr/local/bin/executor
14
EXPOSE 8080
15
-ENTRYPOINT ["/usr/local/bin/executor"]
+CMD ["executor"]
0 commit comments