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;"]