Skip to content

Commit

Permalink
Merge pull request #317 from blackcandy-org/docker-image-squash
Browse files Browse the repository at this point in the history
Replace postgresql client with libpq in Dockerfile
  • Loading branch information
aidewoode committed Nov 10, 2023
2 parents 2576cf6 + be4828d commit 31e664e
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 31e664e

Please sign in to comment.