Merge pull request #536 from turbo124/master

Improve react support in dockerfile
This commit is contained in:
David Bomba
2023-09-20 22:15:28 +10:00
committed by GitHub
2 changed files with 3 additions and 1 deletions

View File

@@ -21,7 +21,9 @@ RUN curl -LGO $(curl https://api.github.com/repos/invoiceninja/ui/releases/lates
RUN cp invoiceninja-react.zip /tmp/invoiceninja-react.zip
RUN unzip /tmp/invoiceninja-react.zip
RUN find /var/www/app/public/react/ -type f -delete
RUN cp -r dist/react/* /var/www/app/public/react/
COPY loop.sh loop.sh
RUN ./loop.sh
RUN mkdir -p /var/www/app/public/tinymce_6.4.2/tinymce/js/
RUN cp -r dist/tinymce_6.4.2/* /var/www/app/public/tinymce_6.4.2/

0
alpine/5/loop.sh Executable file
View File