From e584fea171f725243654f0fe92b755619f32b652 Mon Sep 17 00:00:00 2001 From: cherednik Date: Thu, 24 Oct 2024 15:17:46 +0400 Subject: [PATCH] fix entrypoint --- Dockerfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Dockerfile b/Dockerfile index 3c0e1f7..6453fa9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -64,6 +64,9 @@ COPY ./backend /usr/src/signer COPY ./docker/php/www.conf /etc/php/8.3/fpm/pool.d/www.conf +RUN curl curl https://frankenphp.dev/install.sh | sh +RUN mv /usr/src/signer/frankenphp /usr/local/bin/ + ENV COMPOSER_ALLOW_SUPERUSER=1 RUN composer install RUN service php8.3-fpm start @@ -72,5 +75,6 @@ COPY entrypoint.sh /entrypoint.sh ENTRYPOINT [ "/entrypoint.sh" ] CMD ["php-fpm8.3", "-F"] +CMD ["frankenphp php-server --listen 0.0.0.0:8000 ./public"] EXPOSE 9000 \ No newline at end of file