Немного обо... и перепутал файлы, вернул всё взад
This commit is contained in:
parent
bc7cb5c3fc
commit
160d5681c8
20
phpfpm/Dockerfile
Normal file
20
phpfpm/Dockerfile
Normal file
@ -0,0 +1,20 @@
|
||||
FROM alpine:3.13
|
||||
|
||||
ENV NEXTCLOUD_VERSION=21.0.2
|
||||
|
||||
EXPOSE 9000
|
||||
|
||||
RUN apk add -q --no-cache -q php7 php7-fpm php7-bcmath php7-ctype php7-curl php7-dom php7-gd php7-fileinfo php7-gmp php7-iconv php7-intl php7-json \
|
||||
php7-mbstring php7-openssl php7-pcntl php7-posix php7-session php7-simplexml php7-xml php7-xmlreader \
|
||||
php7-xmlwriter php7-zip php7-pdo_pgsql php7-pgsql wget
|
||||
|
||||
WORKDIR /var/www/
|
||||
|
||||
RUN sed -i "s/127.0.0.1:9000/0.0.0.0:9000/" /etc/php7/php-fpm.d/www.conf
|
||||
|
||||
RUN wget -q https://download.nextcloud.com/server/releases/nextcloud-${NEXTCLOUD_VERSION}.zip && \
|
||||
unzip -q nextcloud-${NEXTCLOUD_VERSION}.zip && rm nextcloud-${NEXTCLOUD_VERSION}.zip
|
||||
|
||||
RUN chmod +x -R nextcloud && chown nobody -R nextcloud
|
||||
|
||||
CMD php-fpm7 -F -R
|
@ -1,29 +0,0 @@
|
||||
FROM alpine:3.13
|
||||
|
||||
EXPOSE 9000
|
||||
|
||||
RUN apk update && apk add --no-cache \
|
||||
php7 \
|
||||
php7-bcmath \
|
||||
php7-ctype \
|
||||
php7-curl \
|
||||
php7-dom \
|
||||
php7-fileinfo \
|
||||
php7-gd \
|
||||
php7-gmp \
|
||||
php7-iconv \
|
||||
php7-intl \
|
||||
php7-json \
|
||||
php7-mbstring \
|
||||
php7-openssl \
|
||||
php7-pcntl \
|
||||
php7-pdo_pgsql \
|
||||
php7-pgsql \
|
||||
php7-posix \
|
||||
php7-session \
|
||||
php7-simplexml \
|
||||
php7-xml \
|
||||
php7-xmlreader \
|
||||
php7-xmlwriter \
|
||||
php7-zip \
|
||||
|
Loading…
Reference in New Issue
Block a user