Skip to content

Commit

Permalink
reset Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
ricopinazo committed Nov 20, 2024
1 parent 070c8fc commit 36a4d0a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ WORKDIR /app

FROM chef AS planner
COPY . .
RUN sed -i '/default-members/d' Cargo.toml
RUN sed -i '/members = \[/,/\]/c\members = ["raphtory", "raphtory-graphql"]' Cargo.toml
RUN cargo chef prepare --recipe-path recipe.json

FROM chef AS builder
Expand All @@ -18,4 +20,5 @@ FROM debian:bookworm-slim
ENV PORT=1736
COPY --from=builder /app/target/release/raphtory-graphql /raphtory-graphql
WORKDIR /graphs
CMD ["/raphtory-graphql"]

ENTRYPOINT ["/raphtory-graphql"]

0 comments on commit 36a4d0a

Please sign in to comment.