1
0
Fork 0
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:
Robin Appelman 2017-09-07 13:28:21 +02:00
commit 8bd9f0a4ce
2 changed files with 4 additions and 1 deletions

View file

@ -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 \
&& pecl install 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 src /app/src