react-docker-optimization/Dockerfile
Renovate Bot cd7e28bb52
All checks were successful
ci/woodpecker/pr/workflow Pipeline was successful
chore(deps): pin dependencies
2025-10-21 00:01:39 +00:00

11 lines
No EOL
440 B
Docker

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