Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM rust:1.85-slim as rust-build
FROM rust:1.85-slim AS rust-build

WORKDIR /app

Expand Down Expand Up @@ -30,9 +30,12 @@ COPY . .
RUN CGO_ENABLED=1 CGO_LDFLAGS=-lm go build

FROM debian:bookworm-slim
RUN apt-get update && \
apt-get install -y --no-install-recommends ca-certificates && \
rm -rf /var/lib/apt/lists/*

COPY --from=go-build /app/migrate-masp-events /app/migrate-masp-events

WORKDIR /app

ENTRYPOINT ["/app/migrate-masp-events"]
ENTRYPOINT ["/app/migrate-masp-events"]