Add example FPM-nginx docker-compose file

This commit is contained in:
Markus Opolka
2018-07-23 16:02:21 +02:00
parent 43ece8e1de
commit ed464f3c7d
3 changed files with 74 additions and 0 deletions

View File

@@ -40,6 +40,8 @@ RUN tar xzvf "/tmp/${version}.tar.gz" --strip-components=1 -C /var/www/html/ &&
rm "/tmp/${version}.tar.gz" && \
chown -R www-data:www-data /var/www/html
EXPOSE 9000
COPY entrypoint.sh entrypoint.sh
ENTRYPOINT ["/var/www/html/entrypoint.sh"]
CMD ["php-fpm"]