Skip to content

Commit

Permalink
fix: Install pg lib on exec layer
Browse files Browse the repository at this point in the history
  • Loading branch information
moraesjeremias committed Jan 15, 2025
1 parent 14a03e4 commit bc7ad80
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM rust:1.79.0-slim AS builder
FROM rust:1.84.0-slim AS builder
WORKDIR /build
COPY . .
ARG BUILD_PROFILE=release
Expand All @@ -13,7 +13,7 @@ WORKDIR /app
COPY --from=builder /build/bridge-api /usr/local/bin

RUN adduser --disabled-password --gecos "" --no-create-home --uid 1000 bridge \
&& apt-get update && apt-get install -y ca-certificates \
&& apt-get update && apt-get install -y ca-certificates libpq-dev \
&& apt clean \
&& chown -R bridge:bridge /usr/local/bin/bridge-api

Expand Down

0 comments on commit bc7ad80

Please sign in to comment.