chg: pkg: remove unnecessary cdn based fonts #4
This commit is contained in:
@@ -1,15 +1,15 @@
|
||||
FROM node:22-alpine AS assets
|
||||
FROM oven/bun:1-alpine AS assets
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY package*.json ./
|
||||
RUN npm ci --ignore-scripts
|
||||
COPY package.json bun.lock ./
|
||||
RUN bun install --frozen-lockfile
|
||||
|
||||
COPY vite.config.js ./
|
||||
COPY assets/ assets/
|
||||
COPY public/ public/
|
||||
|
||||
RUN npm run build
|
||||
RUN bun run build && cp -r node_modules/@fortawesome/fontawesome-free/webfonts public/build/webfonts
|
||||
|
||||
FROM dunglas/frankenphp:latest
|
||||
|
||||
|
||||
Reference in New Issue
Block a user