From 43fd91475ad808b4adf41343ae460959634e2cb1 Mon Sep 17 00:00:00 2001 From: Phillip Date: Mon, 14 Oct 2024 15:11:33 +0200 Subject: [PATCH] BC-8226 update nginx to 1.27 (#13) --- Dockerfile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index f8f0efb..47a77f8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,8 +2,9 @@ FROM docker.io/debian:bullseye as builder # Install git -RUN apt-get update -RUN apt-get install -y git +RUN apt-get update && \ + apt-get install -y git && \ + rm -rf /var/lib/apt/lists/* # the last used version from Lumi ENV LAST_USED_H5P_LIBRARY=661d4f6c7d7b1117587654941f5fcf91acb5f4eb @@ -20,7 +21,7 @@ RUN rm h5p-php-library/*.php RUN rm h5p-editor-php-library/*.php # Use nginx as server for run stage -FROM docker.io/nginx:1.25 +FROM docker.io/nginx:1.27 # Copy configuration COPY nginx.conf /etc/nginx/nginx.conf @@ -39,4 +40,4 @@ RUN touch /var/run/nginx.pid && \ USER nginx EXPOSE 8080 -CMD ["nginx", "-g", "daemon off;"] \ No newline at end of file +CMD ["nginx", "-g", "daemon off;"]