blog #4
3 changed files with 2833 additions and 5 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -46,6 +46,7 @@
|
|||
"vitest": "^3.1.2"
|
||||
},
|
||||
"dependencies": {
|
||||
"dayjs": "^1.11.13",
|
||||
"lucide-svelte": "^0.503.0",
|
||||
"nodemailer": "^6.10.1"
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue