adding most popular fonts
This commit is contained in:
@@ -44,6 +44,11 @@ RUN npm ci --no-audit --prefer-offline
|
||||
COPY . .
|
||||
COPY --from=vendor /var/www/html/vendor ./vendor
|
||||
|
||||
# Ensure fonts.css exists so Vite can resolve the import even when the
|
||||
# google fonts sync output is not present in the repository.
|
||||
RUN mkdir -p public/fonts/google \
|
||||
&& [ -f public/fonts/google/fonts.css ] || echo '/* placeholder; run php artisan fonts:sync-google to populate */' > public/fonts/google/fonts.css
|
||||
|
||||
RUN npm run build
|
||||
|
||||
################################################################################
|
||||
|
||||
Reference in New Issue
Block a user