cm30082-nativekey/Dockerfile

15 lines
248 B
Docker
Raw Permalink Normal View History

2025-02-11 09:47:41 +00:00
FROM oven/bun:latest AS builder
WORKDIR /opt/build
COPY package.json bun.lock ./
RUN bun install
COPY . .
RUN bun run build
FROM docker.io/nginx:1
COPY --from=builder /opt/build/dist /usr/share/nginx/html
COPY nginx.conf /etc/nginx/nginx.conf