# Build stage of the application FROM oven/bun@sha256:66ba69deede44e3af5dc542def218fdb3bcad2205900ea761dc5623bf973d2df AS build WORKDIR /app COPY . . RUN bun i && bun run build # Production stage to run the application FROM cgr.dev/chainguard/nginx@sha256:a90da691b6053abc4d11e027c6e6f094ffc8256c3cb289ef696bae7fff984ecb AS production COPY --from=build /app/dist /usr/share/nginx/html EXPOSE 8080 ENTRYPOINT ["nginx", "-g", "daemon off;"]