fix
This commit is contained in:
parent
73218dca4f
commit
aa968fd61e
1 changed files with 2 additions and 7 deletions
|
|
@ -2,13 +2,8 @@ FROM oven/bun:1.2-alpine AS build
|
||||||
|
|
||||||
WORKDIR /opt/build
|
WORKDIR /opt/build
|
||||||
|
|
||||||
COPY ./package.json ./bun.lock ./
|
COPY . .
|
||||||
RUN bun install --filter '!strapi'
|
RUN bun install --filter '!strapi' && bun run build
|
||||||
|
|
||||||
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 --filter '!strapi' --production
|
RUN rm -rf ./node_modules/ && bun install --filter '!strapi' --production
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue