From 78e3b80f342ef1db07d6bbf285e928842e6a4fc4 Mon Sep 17 00:00:00 2001 From: Christopher Liu Date: Sun, 7 Jul 2024 10:49:41 -0700 Subject: [PATCH] Perhaps fix docker image --- backend/Dockerfile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/backend/Dockerfile b/backend/Dockerfile index 8c5e16c..ddd8cba 100644 --- a/backend/Dockerfile +++ b/backend/Dockerfile @@ -7,6 +7,12 @@ ENV LANG C.UTF-8 WORKDIR /app/ +# Update PGP key for NGINX +# https://blog.nginx.org/blog/updating-pgp-key-for-nginx-software +RUN apt-get update \ + && apt-get --no-install-recommends -y install curl gnupg +RUN curl https://nginx.org/keys/nginx_signing.key | gpg --dearmor | sudo tee /usr/share/keyrings/nginx-archive-keyring.gpg >/dev/null + # Install dependencies RUN apt-get update \ && apt-get install --no-install-recommends -y python3.11-dev pipenv python3-distutils libpq-dev gcc \