mirror of
https://git.tt-rss.org/fox/ttrss-docker-compose
synced 2025-06-09 20:09:52 +02:00
move app user creation to startup scripts
run fpm as app user
This commit is contained in:
parent
59eb978976
commit
e9563c4a87
4 changed files with 11 additions and 14 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue