+4
-4
@@ -52,9 +52,7 @@ RUN \
|
|||||||
make install && \
|
make install && \
|
||||||
sed -i -e 's/#access_log logs\/access.log main;/access_log \/dev\/stdout;/' -e 's/#error_log logs\/error.log notice;/error_log stderr notice;/' /etc/nginx/nginx.conf && \
|
sed -i -e 's/#access_log logs\/access.log main;/access_log \/dev\/stdout;/' -e 's/#error_log logs\/error.log notice;/error_log stderr notice;/' /etc/nginx/nginx.conf && \
|
||||||
addgroup -S nginx && \
|
addgroup -S nginx && \
|
||||||
adduser -D -S -h /var/cache/nginx -s /sbin/nologin -G nginx nginx && \
|
adduser -D -S -h /var/cache/nginx -s /sbin/nologin -G nginx nginx
|
||||||
apk del ${build_pkgs} && \
|
|
||||||
rm -rf /var/cache/apk/*
|
|
||||||
|
|
||||||
ARG PHP_VERSION="83"
|
ARG PHP_VERSION="83"
|
||||||
|
|
||||||
@@ -64,7 +62,9 @@ RUN apk --no-cache add php${PHP_VERSION} \
|
|||||||
php${PHP_VERSION}-pecl-redis \
|
php${PHP_VERSION}-pecl-redis \
|
||||||
curl \
|
curl \
|
||||||
vim \
|
vim \
|
||||||
git \
|
git
|
||||||
|
|
||||||
|
RUN apk del ${build_pkgs} && \
|
||||||
rm -rf /var/cache/apk/*
|
rm -rf /var/cache/apk/*
|
||||||
|
|
||||||
COPY nginx.conf /etc/nginx/nginx.conf
|
COPY nginx.conf /etc/nginx/nginx.conf
|
||||||
|
|||||||
Reference in New Issue
Block a user