Skip to content

Commit 91a9e6c

Browse files
committed
fix: adjusted Dockerfile.migrator file
1 parent 9815a0a commit 91a9e6c

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

backfill/Dockerfile.migrator

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,9 @@ FROM golang:1.23.3 AS builder
22
WORKDIR /app
33
COPY . .
44
RUN go mod download
5-
RUN CGO_ENABLED=0 GOOS=linux go build -o db-migrator ./db-migrator/main.go
5+
RUN CGO_ENABLED=0 GOOS=linux go build -o db-migrator ./db-migrator
66

7-
FROM scratch
8-
WORKDIR /app
9-
COPY ./global-bundle.pem ./global-bundle.pem
7+
FROM alpine:latest
8+
WORKDIR /root
109
COPY --from=builder /app/db-migrator .
1110
ENTRYPOINT ["./db-migrator"]

0 commit comments

Comments
 (0)