diff --git a/services/postgres/Dockerfile b/services/postgres/Dockerfile
index 0f6dfd3fea098ca1f5c6519da674a1ab6f8dfee5..70e875bb64aefe0089f3a7c7f0c7eec26752ef41 100644
--- a/services/postgres/Dockerfile
+++ b/services/postgres/Dockerfile
@@ -11,7 +11,7 @@ RUN apt-get update
 #------------------------
 
 # Add repo
-RUN echo "deb http://apt.postgresql.org/pub/repos/apt/ bionic-pgdg main" >> /etc/apt/sources.list.d/pgdg.list
+RUN echo "deb https://apt-archive.postgresql.org/pub/repos/apt bionic-pgdg main" >> /etc/apt/sources.list.d/pgdg.list
 COPY ACCC4CF8.asc /tmp/ACCC4CF8.asc 
 RUN sudo apt-key add /tmp/ACCC4CF8.asc