Skip to content

Commit

Permalink
Fix entrypoint
Browse files Browse the repository at this point in the history
  • Loading branch information
nint8835 committed Nov 6, 2023
1 parent d38f68d commit 6a4656a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ WORKDIR /build
COPY . .
RUN go mod download && \
go mod verify && \
go build -o elf ./cmd/elf
go build -o elf .

FROM debian:bookworm-slim

WORKDIR /elf
COPY --from=builder /build/elf /elf/elf
COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/

ENTRYPOINT [ "/elf/elf" ]
ENTRYPOINT [ "/elf/elf", "run" ]

0 comments on commit 6a4656a

Please sign in to comment.