blog (#4)
Co-authored-by: Benjamin Palko <benjaminpalko@hotmail.com> Reviewed-on: #4
This commit is contained in:
parent
b2844e8d76
commit
14fe55bb31
18 changed files with 3164 additions and 30 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