blog (#4)
Some checks failed
Deployment / Deploy website (push) Failing after 58s
Deployment / Deploy strapi (push) Successful in 3m0s

Co-authored-by: Benjamin Palko <benjaminpalko@hotmail.com>
Reviewed-on: #4
This commit is contained in:
Benjamin Palko 2025-05-05 13:02:22 -04:00
parent b2844e8d76
commit 14fe55bb31
18 changed files with 3164 additions and 30 deletions

View file

@ -3,14 +3,14 @@ FROM oven/bun:1.2-alpine AS build
WORKDIR /opt/build
COPY ./package.json ./bun.lock ./
RUN bun install
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
RUN rm -rf ./node_modules/ && bun install --production
RUN rm -rf ./node_modules/ && bun install --filter '!strapi' --production
FROM node:18-alpine3.21