mirror of
https://github.com/TeamPiped/Piped.git
synced 2024-08-14 23:57:27 +00:00
added script to download and serve fonts locally by default
This commit is contained in:
parent
a91531efa4
commit
ef0dbb91ba
2 changed files with 12 additions and 1 deletions
|
@ -6,8 +6,9 @@ COPY . .
|
|||
|
||||
RUN --mount=type=cache,target=/root/.cache/yarn \
|
||||
--mount=type=cache,target=/app/node_modules \
|
||||
pkg add curl && \
|
||||
yarn install --prefer-offline && \
|
||||
yarn build && sed -i 's/fonts.gstatic.com/fonts.kavin.rocks/g' dist/assets/*.css
|
||||
yarn build && ./localizefonts.sh
|
||||
|
||||
FROM nginx:alpine
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue