Skip to content

Commit 7f97c65

Browse files
committed
chore: add postgres deps to Dockerfile
1 parent fbc0fbf commit 7f97c65

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

api/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ WORKDIR /rails
1616

1717
# Install base packages
1818
RUN apt-get update -qq && \
19-
apt-get install --no-install-recommends -y curl libjemalloc2 libvips sqlite3 && \
19+
apt-get install --no-install-recommends -y curl libjemalloc2 libvips sqlite3 libpq5 && \
2020
rm -rf /var/lib/apt/lists /var/cache/apt/archives
2121

2222
# Set production environment
@@ -30,7 +30,7 @@ FROM base AS build
3030

3131
# Install packages needed to build gems
3232
RUN apt-get update -qq && \
33-
apt-get install --no-install-recommends -y build-essential git libyaml-dev pkg-config && \
33+
apt-get install --no-install-recommends -y build-essential git libyaml-dev pkg-config libpq-dev && \
3434
rm -rf /var/lib/apt/lists /var/cache/apt/archives
3535

3636
# Install application gems

0 commit comments

Comments
 (0)