Skip to content

Commit

Permalink
fix: fix libssl once again
Browse files Browse the repository at this point in the history
  • Loading branch information
wvffle committed Oct 31, 2024
1 parent 7c57325 commit c942bd5
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
FROM rust:latest AS builder
WORKDIR /usr/src/cracktorio-bot
COPY . .
COPY Cargo.toml .
COPY Cargo.lock .
COPY src ./src
RUN cargo build --release

FROM debian:buster-slim
FROM debian:bookworm-slim
RUN apt-get update && \
apt-get install -y libssl-dev ca-certificates && \
apt-get install -y libssl3 ca-certificates && \
rm -rf /var/lib/apt/lists/*
COPY --from=builder /usr/src/cracktorio-bot/target/release/cracktorio-bot /usr/local/bin/cracktorio-bot
CMD ["cracktorio-bot"]

0 comments on commit c942bd5

Please sign in to comment.