add docker images and deployment to project
Some checks failed
Deployment / Deploy (push) Failing after 4m26s

This commit is contained in:
Benjamin Palko 2025-03-31 14:26:05 -04:00
parent 8f96736328
commit 5df3d17f48
8 changed files with 110 additions and 56 deletions

11
Dockerfile.storybook Normal file
View 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