Files
srjuggernaut_dev/Dockerfile

18 lines
271 B
Docker

FROM oven/bun:alpine AS builder
WORKDIR /app
COPY . .
ENV NODE_ENV=production
ENV CI=true
RUN bun install --frozen-lockfile --production
RUN bun run build
FROM joseluisq/static-web-server:2-alpine AS runner
WORKDIR /public
COPY --from=builder /app/dist .
EXPOSE 80