From 241c9bc7d7bd97cb7f6d3c48dd6845e8e31567f1 Mon Sep 17 00:00:00 2001 From: Tim van Oostrom Date: Tue, 19 Dec 2023 13:04:23 +0100 Subject: [PATCH] Copy certs (#93) --- Dockerfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Dockerfile b/Dockerfile index ad16730..d5d1c1f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,6 +7,8 @@ ENV REQUESTS_CA_BUNDLE=/etc/ssl/certs/ca-certificates.crt WORKDIR /api +COPY ca/* /usr/local/share/ca-certificates/extras/ + RUN apt-get update \ && apt-get dist-upgrade -y \ && apt-get autoremove -y \ @@ -14,6 +16,8 @@ RUN apt-get update \ nano \ openssh-server \ locales \ + && chmod -R 644 /usr/local/share/ca-certificates/extras/ \ + && update-ca-certificates \ && pip install --upgrade pip \ && pip install uwsgi