Skip to content

Commit

Permalink
BC-8226 update nginx to 1.27
Browse files Browse the repository at this point in the history
  • Loading branch information
Loki-Afro committed Oct 8, 2024
1 parent db18d69 commit e90c349
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -39,4 +40,4 @@ RUN touch /var/run/nginx.pid && \
USER nginx

EXPOSE 8080
CMD ["nginx", "-g", "daemon off;"]
CMD ["nginx", "-g", "daemon off;"]

0 comments on commit e90c349

Please sign in to comment.