Skip to content

Commit

Permalink
installing libpq too
Browse files Browse the repository at this point in the history
  • Loading branch information
piotrsenkow committed Jan 15, 2025
1 parent c0ccb5f commit b2272e2
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
Expand Up @@ -12,7 +12,7 @@ RUN chown -R gen3:gen3 /${appname}
# Builder stage
FROM base AS builder

RUN dnf install -y python3-devel postgresql-devel gcc
RUN dnf install -y python3-devel postgresql-devel gcc libpq-devel

USER gen3

Expand All @@ -37,7 +37,7 @@ RUN dnf install -y postgresql-devel gcc && \
poetry show -v

# Install PostgreSQL libraries
RUN dnf install -y postgresql-libs
RUN dnf install -y python3-devel postgresql-devel gcc libpq-devel

# Copy application files from the builder stage
COPY --from=builder /${appname} /${appname}
Expand Down

0 comments on commit b2272e2

Please sign in to comment.