Skip to content

Commit

Permalink
fix release path
Browse files Browse the repository at this point in the history
  • Loading branch information
kskarthik committed Sep 4, 2024
1 parent 9c2dd26 commit 4307b50
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM rust:slim as build
FROM rust:slim AS build

COPY . /steel/

Expand All @@ -16,13 +16,14 @@ RUN mkdir -p /lib/steel/
ENV STEEL_HOME="/lib/steel"

RUN cargo build --release

RUN cargo install --path crates/cargo-steel-lib

RUN cd cogs && cargo run -- install.scm

FROM rust:slim

COPY --from=build /steel/target/debug/steel /usr/local/bin
COPY --from=build /steel/target/release/steel /usr/local/bin

COPY --from=build /lib/steel /lib/

Expand Down

0 comments on commit 4307b50

Please sign in to comment.