TD-322: [BACK]. [реализовать сервис для подписания документов в контейнере signer] #2

Merged
akurilenko merged 22 commits from TD-322 into main 2024-10-28 14:44:12 +03:00
1 changed files with 4 additions and 0 deletions
Showing only changes of commit e584fea171 - Show all commits

View File

@ -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