Nychthemeron/packages/playground/Dockerfile
Matthew L McPeak 71ea2b88f4
Some checks failed
ci / build (push) Successful in 36s
ci / publish-docs (push) Failing after 9s
ci / publish (push) Failing after 14s
CI (#6)
Reviewed-on: McPeakDev/nychthemeron#6
Co-authored-by: Matthew L McPeak <m.mcpeak98@icloud.com>
Co-committed-by: Matthew L McPeak <m.mcpeak98@icloud.com>
2026-06-12 11:19:15 -04:00

12 lines
318 B
Docker

# syntax=docker/dockerfile:1
FROM oven/bun:1 AS build
WORKDIR /app
COPY . .
RUN bun install --frozen-lockfile
RUN cd packages/library && bun run build
RUN cd packages/playground && bun run build
FROM nginx:alpine AS runtime
COPY --from=build /app/packages/playground/storybook-static /usr/share/nginx/html
EXPOSE 80