mirror of
https://github.com/bitnami/containers.git
synced 2026-10-19 03:49:23 +02:00
Get php-fpm working, and add nginx vhost template for php-fpm
This commit is contained in:
@@ -10,10 +10,10 @@ ADD https://storage.googleapis.com/bitnami-artifacts/install.sh?GoogleAccessId=4
|
||||
RUN sh /tmp/install.sh\
|
||||
--php_fpm_allow_all_remote_connections 1 --php_fpm_connection_mode port
|
||||
|
||||
ENV PATH /usr/local/bitnami/php/bin:$PATH
|
||||
ENV PATH /usr/local/bitnami/php/sbin:/usr/local/bitnami/php/bin:/usr/local/bitnami/common/bin:$PATH
|
||||
|
||||
EXPOSE 80
|
||||
EXPOSE 9000
|
||||
VOLUME ["/app"]
|
||||
WORKDIR /app
|
||||
|
||||
CMD ["php", "-a"]
|
||||
CMD ["php-fpm", "-F"]
|
||||
|
||||
Reference in New Issue
Block a user