This commit is contained in:
parent
c001cc4907
commit
0123adb3b8
2 changed files with 39 additions and 0 deletions
11
packages/svelte/Dockerfile.storybook
Normal file
11
packages/svelte/Dockerfile.storybook
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
FROM oven/bun:1.2-alpine AS build
|
||||
|
||||
WORKDIR /opt/build
|
||||
|
||||
COPY . .
|
||||
RUN bun install --frozen-lockfile \
|
||||
&& bun run build-storybook
|
||||
|
||||
FROM nginx:alpine3.21
|
||||
|
||||
COPY --from=build --chown=1000:1000 /opt/build/storybook-static /usr/share/nginx/html
|
||||
Loading…
Add table
Add a link
Reference in a new issue