From 0af813e3ec2dfe15c73d879403456e3d22e5f8cc Mon Sep 17 00:00:00 2001 From: ranikote <106727161+ranikote@users.noreply.github.com> Date: Tue, 15 Apr 2025 12:37:00 +0530 Subject: [PATCH] Update Dockerfile --- yelb-appserver/Dockerfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/yelb-appserver/Dockerfile b/yelb-appserver/Dockerfile index 026adb18..b68fdf7c 100644 --- a/yelb-appserver/Dockerfile +++ b/yelb-appserver/Dockerfile @@ -17,8 +17,11 @@ ENV RACK_ENV=production RUN gem install sinatra --no-document RUN gem install redis --no-document ### hack to allow the setup of the pg gem (which would fail otherwise) -RUN apt-get update +# RUN apt-get update +# RUN apt-get install libpq-dev -y +RUN apt-get clean && apt-get update RUN apt-get install libpq-dev -y + ### end of hack (this would require additional research and optimization) RUN gem install pg --no-document ### this installs the AWS SDK for DynamoDB (so that appserver can talk to DDB Vs the default Postgres/Redis)