Skip to content

Commit

Permalink
Merge pull request #35 from wyeworks/develop
Browse files Browse the repository at this point in the history
install libpq5 in machine through dockerfile
  • Loading branch information
SanGonzalezCarretero committed May 29, 2024
2 parents 5400c12 + 3d3ed1c commit 40e8ac7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,11 @@ RUN cargo build --release --bin onboarding_bot_slack
# We do not need the Rust toolchain to run the binary!
FROM debian:bookworm-slim AS runtime
WORKDIR /app

# Install libpq-dev for PostgreSQL client libraries
RUN apt-get update && \
apt-get install -y libpq5 && \
rm -rf /var/lib/apt/lists/*

COPY --from=builder /app/target/release/onboarding_bot_slack /usr/local/bin
ENTRYPOINT ["/usr/local/bin/onboarding_bot_slack"]

0 comments on commit 40e8ac7

Please sign in to comment.