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