Update Dockerfile
continuous-integration/drone/push Build is failing

This commit is contained in:
Gyorgy Berenyi
2026-03-02 23:11:49 +00:00
parent db0c93353e
commit 6586ce39cf
+4 -4
View File
@@ -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