Compare commits
4 Commits
cd35477253
...
387b0e7ec4
Author | SHA1 | Date |
---|---|---|
|
387b0e7ec4 | |
|
907a6ee04a | |
|
2784651533 | |
|
22b5d35567 |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -0,0 +1,20 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
cd /usr/local/src/fonts
|
||||||
|
|
||||||
|
for font in /usr/local/src/fonts/*.zip; do
|
||||||
|
unzip $font
|
||||||
|
mv $(basename $font .zip)/* /usr/local/share/texmf
|
||||||
|
done
|
||||||
|
|
||||||
|
mktexlsr
|
||||||
|
|
||||||
|
for map in $(find /usr/local/share/texmf -type f -name '*.map'); do
|
||||||
|
cd $(dirname $map)
|
||||||
|
updmap-sys --force --enable Map=$(basename $map)
|
||||||
|
done
|
||||||
|
|
||||||
|
mktexlsr
|
||||||
|
|
Binary file not shown.
|
@ -6,16 +6,21 @@ RUN composer install --ignore-platform-reqs --no-dev
|
||||||
FROM node:17.9.0-slim as node
|
FROM node:17.9.0-slim as node
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY . /app
|
COPY . /app
|
||||||
|
|
||||||
RUN npm install && npm run prod && rm -R node_modules
|
RUN npm install && npm run prod && rm -R node_modules
|
||||||
|
|
||||||
FROM php:8.1.6-fpm as php
|
FROM php:8.1.6-fpm as php
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
RUN apt-get update && apt-get install -y rsync libcurl3-dev apt-utils zlib1g-dev libpng-dev libicu-dev libonig-dev texlive-base texlive-xetex texlive-lang-german
|
RUN apt-get update
|
||||||
|
RUN apt-get install -y rsync libcurl3-dev apt-utils zlib1g-dev libpng-dev libicu-dev libonig-dev unzip
|
||||||
|
RUN apt-get install -y --no-install-recommends texlive-base texlive-latex-base texlive-pictures texlive-latex-extra texlive-lang-german texlive-plain-generic texlive-fonts-recommended
|
||||||
RUN docker-php-ext-install pdo_mysql curl gd intl mbstring pcntl
|
RUN docker-php-ext-install pdo_mysql curl gd intl mbstring pcntl
|
||||||
RUN pecl install redis && docker-php-ext-enable redis
|
RUN pecl install redis && docker-php-ext-enable redis
|
||||||
COPY --chown=www-data:www-data . /app
|
COPY --chown=www-data:www-data . /app
|
||||||
COPY --chown=www-data:www-data --from=node /app/public /app/public
|
COPY --chown=www-data:www-data --from=node /app/public /app/public
|
||||||
COPY --chown=www-data:www-data --from=composer /app/vendor /app/vendor
|
COPY --chown=www-data:www-data --from=composer /app/vendor /app/vendor
|
||||||
|
COPY .docker/fonts /usr/local/src/fonts
|
||||||
|
RUN /usr/local/src/fonts/compile.sh
|
||||||
EXPOSE 9000
|
EXPOSE 9000
|
||||||
|
|
||||||
CMD ["php-fpm", "-F", "-R", "-O"]
|
CMD ["php-fpm", "-F", "-R", "-O"]
|
||||||
|
|
|
@ -70,7 +70,7 @@ abstract class Invoice extends Document
|
||||||
|
|
||||||
public function getEngine(): Engine
|
public function getEngine(): Engine
|
||||||
{
|
{
|
||||||
return Engine::XELATEX;
|
return Engine::PDFLATEX;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function basename(): string
|
public function basename(): string
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit cd9837290db78de9ec3fb08d553ecf6834da34f0
|
Subproject commit 409cbaf4639d20aea52caa8e2136ffbcf9d4c7cc
|
|
@ -25,7 +25,7 @@
|
||||||
\product{<<< $desc >>>}{<<< $price >>>}
|
\product{<<< $desc >>>}{<<< $price >>>}
|
||||||
@endforeach
|
@endforeach
|
||||||
\hline
|
\hline
|
||||||
\textbf{Gesamt} & \textbf{\numprint[€]{\TotalHT}} \\
|
\textbf{Gesamt} & \textbf{\numprint[\euro]{\TotalHT}} \\
|
||||||
\end{tabular}
|
\end{tabular}
|
||||||
\end{center}
|
\end{center}
|
||||||
|
|
||||||
|
|
|
@ -25,7 +25,7 @@
|
||||||
\product{<<< $desc >>>}{<<< $price >>>}
|
\product{<<< $desc >>>}{<<< $price >>>}
|
||||||
@endforeach
|
@endforeach
|
||||||
\hline
|
\hline
|
||||||
\textbf{Gesamt} & \textbf{\numprint[€]{\TotalHT}} \\
|
\textbf{Gesamt} & \textbf{\numprint[\euro]{\TotalHT}} \\
|
||||||
\end{tabular}
|
\end{tabular}
|
||||||
\end{center}
|
\end{center}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue