Skip to content

Commit 43fd914

Browse files
authored
BC-8226 update nginx to 1.27 (#13)
1 parent db18d69 commit 43fd914

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

Dockerfile

+5-4
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@
22
FROM docker.io/debian:bullseye as builder
33

44
# Install git
5-
RUN apt-get update
6-
RUN apt-get install -y git
5+
RUN apt-get update && \
6+
apt-get install -y git && \
7+
rm -rf /var/lib/apt/lists/*
78

89
# the last used version from Lumi
910
ENV LAST_USED_H5P_LIBRARY=661d4f6c7d7b1117587654941f5fcf91acb5f4eb
@@ -20,7 +21,7 @@ RUN rm h5p-php-library/*.php
2021
RUN rm h5p-editor-php-library/*.php
2122

2223
# Use nginx as server for run stage
23-
FROM docker.io/nginx:1.25
24+
FROM docker.io/nginx:1.27
2425

2526
# Copy configuration
2627
COPY nginx.conf /etc/nginx/nginx.conf
@@ -39,4 +40,4 @@ RUN touch /var/run/nginx.pid && \
3940
USER nginx
4041

4142
EXPOSE 8080
42-
CMD ["nginx", "-g", "daemon off;"]
43+
CMD ["nginx", "-g", "daemon off;"]

0 commit comments

Comments
 (0)