react-docker-optimization/Dockerfile
Renovate Bot 91629973a9
All checks were successful
ci/woodpecker/pr/workflow Pipeline was successful
chore(deps): pin dependencies
2025-08-15 00:01:43 +00:00

11 lines
No EOL
440 B
Docker

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