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
|
WORKDIR /opt/build
|
||||||
|
|
||||||
COPY ./package.json ./bun.lock ./
|
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 postcss.config.js svelte.config.js tailwind.config.ts tsconfig.json vite.config.ts ./
|
||||||
COPY ./src ./src
|
COPY ./src ./src
|
||||||
COPY ./static ./static
|
COPY ./static ./static
|
||||||
RUN bun run build
|
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
|
FROM node:18-alpine3.21
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -46,6 +46,7 @@
|
||||||
"vitest": "^3.1.2"
|
"vitest": "^3.1.2"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
"dayjs": "^1.11.13",
|
||||||
"lucide-svelte": "^0.503.0",
|
"lucide-svelte": "^0.503.0",
|
||||||
"nodemailer": "^6.10.1"
|
"nodemailer": "^6.10.1"
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue