fixed
This commit is contained in:
parent
e1873ae55f
commit
bfc0ac5b8d
|
@ -2,7 +2,10 @@ FROM php:8.2.16-fpm-alpine3.19
|
|||
|
||||
LABEL org.opencontainers.image.authors="anfu"
|
||||
|
||||
RUN apk add --no-cache nginx
|
||||
RUN set -eux \
|
||||
&& sed -i 's/dl-cdn.alpinelinux.org/mirrors.ustc.edu.cn/g' /etc/apk/repositories \
|
||||
&& apk add --no-cache nginx \
|
||||
&& docker-php-ext-install pcntl
|
||||
|
||||
VOLUME /var/www/html
|
||||
|
||||
|
@ -21,4 +24,4 @@ RUN chown www-data:www-data -R /var/www/html
|
|||
|
||||
EXPOSE 80
|
||||
|
||||
ENTRYPOINT ["/run.sh"]
|
||||
CMD ["/run.sh"]
|
||||
|
|
Loading…
Reference in New Issue