Skip to content

Commit

Permalink
Revert "Upgrade to use lukemathwalker/cargo-chef:latest-rust-1.75.0"
Browse files Browse the repository at this point in the history
This reverts commit 7483673.
  • Loading branch information
gemcoder21 committed Jan 3, 2024
1 parent 137aea3 commit d149be3
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM lukemathwalker/cargo-chef:latest-rust-1.75.0 AS chef
FROM lukemathwalker/cargo-chef:latest-rust-1.71.0 AS chef
WORKDIR /app

FROM chef AS planner
Expand All @@ -15,13 +15,11 @@ RUN cargo build --release

FROM debian:bullseye AS runtime
WORKDIR /app

RUN apt-get update && apt-get install -y openssl ca-certificates libpq-dev postgresql

COPY --from=builder /app/target/release/api /app
COPY --from=builder /app/target/release/deamon /app
COPY --from=builder /app/target/release/parser /app
COPY --from=builder /app/target/release/setup /app
COPY --from=builder /app/Settings.toml /app
RUN apt-get update && apt-get install -y openssl ca-certificates libpq-dev postgresql

CMD ["sh", "-c", "/app/${BINARY}"]

0 comments on commit d149be3

Please sign in to comment.