fix
All checks were successful
Deployment / Deploy website (push) Successful in 2m48s
Deployment / Deploy strapi (push) Successful in 3m0s

This commit is contained in:
Benjamin Palko 2025-05-05 13:59:54 -04:00
parent 73218dca4f
commit aa968fd61e

View file

@ -2,13 +2,8 @@ FROM oven/bun:1.2-alpine AS build
WORKDIR /opt/build
COPY ./package.json ./bun.lock ./
RUN bun install --filter '!strapi'
COPY postcss.config.js svelte.config.js tailwind.config.ts tsconfig.json vite.config.ts ./
COPY ./src ./src
COPY ./static ./static
RUN bun run build
COPY . .
RUN bun install --filter '!strapi' && bun run build
RUN rm -rf ./node_modules/ && bun install --filter '!strapi' --production