wip: franenphp in worker mode
This commit is contained in:
38
Dockerfile
38
Dockerfile
@@ -1,20 +1,26 @@
|
||||
FROM trafex/php-nginx:3.9.0
|
||||
FROM dunglas/frankenphp
|
||||
|
||||
USER root
|
||||
RUN install-php-extensions \
|
||||
pdo_mysql \
|
||||
gd \
|
||||
intl \
|
||||
zip \
|
||||
opcache
|
||||
|
||||
RUN apk add --no-cache \
|
||||
php84-opcache \
|
||||
php84-pdo_mysql \
|
||||
php84-simplexml
|
||||
#RUN apk add --no-cache \
|
||||
# php84-opcache \
|
||||
# php84-pdo_mysql \
|
||||
# php84-simplexml
|
||||
#
|
||||
#USER nobody
|
||||
#
|
||||
#COPY --chmod=0775 ./bash/entrypoint.sh /usr/local/bin/
|
||||
#COPY --chmod=0755 ./bash/nginx.conf /etc/nginx/conf.d/site.conf
|
||||
#COPY --chmod=0755 ./docker/app/supervisord.conf /etc/supervisor/conf.d/async-queue.conf
|
||||
|
||||
USER nobody
|
||||
|
||||
COPY --chmod=0775 ./bash/entrypoint.sh /usr/local/bin/
|
||||
COPY --chmod=0755 ./bash/nginx.conf /etc/nginx/conf.d/site.conf
|
||||
|
||||
HEALTHCHECK --interval=3s --timeout=3s --retries=10 CMD [ "php", "/var/www/bin/console", "startup:status" ]
|
||||
|
||||
ENTRYPOINT [ "/usr/local/bin/entrypoint.sh" ]
|
||||
|
||||
WORKDIR /var/www
|
||||
#HEALTHCHECK --interval=3s --timeout=3s --retries=10 CMD [ "php", "/var/www/bin/console", "startup:status" ]
|
||||
#
|
||||
#ENTRYPOINT [ "/usr/local/bin/entrypoint.sh" ]
|
||||
#
|
||||
#WORKDIR /var/www
|
||||
|
||||
|
||||
Reference in New Issue
Block a user