Skip to content

Commit 69bb45e

Browse files
authored
Merge pull request #522 from hack-a-chain-software/dockerfile-fix
fix: adjusted Dockerfile.migrator file
2 parents 9815a0a + 91a9e6c commit 69bb45e

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)