gyatt
This commit is contained in:
parent
4c49c570b6
commit
19b541d51a
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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue