Skip to content

Commit

Permalink
Merge pull request #287 from SFDigitalServices/add-postgres-client-to…
Browse files Browse the repository at this point in the history
…-dockerfile

Add postgresql client to citygram/citygram Dockerfile
  • Loading branch information
bigfleet authored Sep 18, 2020
2 parents 286cfbb + 0623164 commit f915c7f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docker/citygram/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ COPY --from=nodejs /usr/local/include/node /usr/local/include/node/
COPY --from=nodejs /usr/local/bin /usr/local/bin/
COPY --from=nodejs /opt/yarn /opt/yarn

# needed for lib/database_helper.rb
RUN echo deb http://apt.postgresql.org/pub/repos/apt/ stretch-pgdg main > /etc/apt/sources.list.d/pgdg.list && \
wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add -
RUN apt update && apt install --yes postgresql-client-10

RUN mkdir -p /app
ENV PORT 9292
Expand Down

0 comments on commit f915c7f

Please sign in to comment.