mirror of
https://codeberg.org/demostf/api.git
synced 2026-06-03 18:04:08 +02:00
run as nobody
This commit is contained in:
parent
06379c2363
commit
8bd9f0a4ce
2 changed files with 4 additions and 1 deletions
|
|
@ -1,3 +1,5 @@
|
||||||
.env
|
.env
|
||||||
|
.phan
|
||||||
|
.php_cs.*
|
||||||
test
|
test
|
||||||
vendor
|
vendor
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,8 @@ RUN apk add --no-cache postgresql-dev wget autoconf g++ libc-dev make pcre-dev \
|
||||||
&& docker-php-ext-install pdo_pgsql \
|
&& docker-php-ext-install pdo_pgsql \
|
||||||
&& pecl install apcu \
|
&& pecl install apcu \
|
||||||
&& docker-php-ext-enable apcu \
|
&& docker-php-ext-enable apcu \
|
||||||
&& apk del autoconf g++ libc-dev make pcre-dev
|
&& apk del autoconf g++ libc-dev make pcre-dev \
|
||||||
|
&& sed -i -- 's/www-data/nobody/g' /usr/local/etc/php-fpm.d/www.conf
|
||||||
|
|
||||||
COPY composer.json /app
|
COPY composer.json /app
|
||||||
COPY src /app/src
|
COPY src /app/src
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue