react-docker-optimization/Dockerfile
Renovate Bot 65738dc3a2
All checks were successful
ci/woodpecker/pr/workflow Pipeline was successful
chore(deps): pin dependencies
2025-07-03 00:06:51 +00:00

11 lines
No EOL
440 B
Docker

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