Skip to content

Commit

Permalink
update dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Jiayu Liu committed May 5, 2021
1 parent 0f8c5d9 commit 4736c9d
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions datafusion-cli/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,18 @@ RUN apk add --no-cache \
musl-dev

COPY ./datafusion /usr/src/datafusion

COPY ./datafusion-cli /usr/src/datafusion-cli

WORKDIR /usr/src/datafusion-cli
RUN cargo install --path .

RUN cargo build --release

RUN ls -hal

FROM alpine

COPY --from=builder /usr/src/datafusion-cli/datafusion-cli /usr/bin/datafusion-cli
COPY --from=builder /usr/src/datafusion-cli/target/release/datafusion-cli /usr/local/bin

ENTRYPOINT ["datafusion-cli"]

Expand Down

0 comments on commit 4736c9d

Please sign in to comment.