fix entrypoint
This commit is contained in:
parent
f22707ffe2
commit
e584fea171
|
|
@ -64,6 +64,9 @@ COPY ./backend /usr/src/signer
|
||||||
|
|
||||||
COPY ./docker/php/www.conf /etc/php/8.3/fpm/pool.d/www.conf
|
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
|
ENV COMPOSER_ALLOW_SUPERUSER=1
|
||||||
RUN composer install
|
RUN composer install
|
||||||
RUN service php8.3-fpm start
|
RUN service php8.3-fpm start
|
||||||
|
|
@ -72,5 +75,6 @@ COPY entrypoint.sh /entrypoint.sh
|
||||||
|
|
||||||
ENTRYPOINT [ "/entrypoint.sh" ]
|
ENTRYPOINT [ "/entrypoint.sh" ]
|
||||||
CMD ["php-fpm8.3", "-F"]
|
CMD ["php-fpm8.3", "-F"]
|
||||||
|
CMD ["frankenphp php-server --listen 0.0.0.0:8000 ./public"]
|
||||||
|
|
||||||
EXPOSE 9000
|
EXPOSE 9000
|
||||||
Loading…
Reference in New Issue