Skip to content

Commit

Permalink
Replace postgresql client with libpq in Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
aidewoode committed Nov 10, 2023
1 parent 2576cf6 commit be4828d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Expand Up @@ -15,7 +15,7 @@ COPY --from=node /opt/yarn-* /opt/yarn
RUN ln -s /usr/local/lib/node_modules/npm/bin/npm-cli.js /usr/local/bin/npm \
&& ln -s /opt/yarn/bin/yarn /usr/local/bin/yarn

RUN apk add --no-cache tzdata postgresql-dev build-base
RUN apk add --no-cache tzdata libpq-dev build-base

WORKDIR /app

Expand All @@ -42,7 +42,7 @@ ENV RAILS_ENV production

RUN apk add --no-cache \
tzdata \
postgresql-dev \
libpq \
imagemagick \
ffmpeg \
curl
Expand Down

0 comments on commit be4828d

Please sign in to comment.