1
0
Fork 0
mirror of https://git.tt-rss.org/fox/ttrss-docker-compose synced 2025-06-09 22:09:52 +02:00

move app user creation to startup scripts

run fpm as app user
This commit is contained in:
Andrew Dolgov 2020-01-23 16:59:10 +03:00
parent 59eb978976
commit e9563c4a87
4 changed files with 11 additions and 14 deletions

View file

@ -14,9 +14,6 @@ ADD index.php /
RUN sed -i.bak 's/^listen = 127.0.0.1:9000/listen = 9000/' /etc/php7/php-fpm.d/www.conf
ARG OWNER_UID
ARG OWNER_GID
RUN mkdir -p /var/www && addgroup -g ${OWNER_GID} app && adduser -D -h /var/www/html -G app -u ${OWNER_UID} app
RUN mkdir -p /var/www
CMD /startup.sh