react-docker-optimization/Dockerfile
Renovate Bot d7a305fad0
All checks were successful
ci/woodpecker/pr/workflow Pipeline was successful
chore(deps): pin dependencies
2025-07-13 00:04:43 +00:00

11 lines
No EOL
440 B
Docker

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