We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bf558b2 commit 7964b62Copy full SHA for 7964b62
1 file changed
Dockerfile
@@ -1,13 +1,13 @@
1
-FROM rust:1.80-bookworm as builder
+FROM --platform=linux/amd64 rust:1.80-bookworm as builder
2
3
WORKDIR /app
4
5
COPY . .
6
7
RUN cargo build --release
8
9
-FROM rust:1.80-bookworm as runtime
+FROM --platform=linux/amd64 rust:1.80-bookworm as runtime
10
11
COPY --from=builder /app/target/release/pembantu_telegram .
12
13
-CMD ["./pembantu_telegram"]
+CMD ["./pembantu_telegram"]
0 commit comments